ইউরোপীয় ইউনিয়নের আইনগুলির জন্য আপনাকে ইউরোপীয় ইউনিয়নের দর্শকদের আপনার ব্লগে ব্যবহৃত কুকি এবং সংগৃহীত ডেটা সম্পর্কে তথ্য দিতে হবে। অনেক ক্ষেত্রে, এই আইনগুলির জন্য আপনাকে সম্মতি নিতে হবে।
সৌজন্য স্বরূপ, আমরা আপনার ব্লগে Google-এর কিছু নির্দিষ্ট ব্লগার এবং Google কুকির ব্যবহার ব্যাখ্যা করার জন্য একটি বিজ্ঞপ্তি যুক্ত করেছি, যার মধ্যে Google Analytics এবং AdSense কুকির ব্যবহার এবং Google দ্বারা সংগৃহীত অন্যান্য ডেটা রয়েছে৷
এই বিজ্ঞপ্তিটি আসলে আপনার ব্লগের জন্য কাজ করে এবং এটি প্রদর্শিত হয় তা
Phone
Get link
Facebook
X
Pinterest
Email
Other Apps
WebRTC Call Demo
WebRTC Voice Call Demo
let localStream;
let peerConnection;
const config = {
iceServers: [{ urls: "stun:stun.l.google.com:19302" }]
};
const remoteAudio = document.getElementById("remoteAudio");
async function startCall() {
localStream = await navigator.mediaDevices.getUserMedia({ audio: true });
peerConnection = new RTCPeerConnection(config);
// Send local audio stream
localStream.getTracks().forEach(track => {
peerConnection.addTrack(track, localStream);
});
// Receive remote audio stream
peerConnection.ontrack = event => {
remoteAudio.srcObject = event.streams[0];
};
// ICE candidates
peerConnection.onicecandidate = event => {
if (event.candidate) {
console.log("New ICE candidate: ", event.candidate);
// You'd send this to the remote peer via signaling
}
};
// Offer
const offer = await peerConnection.createOffer();
await peerConnection.setLocalDescription(offer);
console.log("Offer created:", offer);
// In a real app, you'd send the offer to the remote peer here
}
function endCall() {
if (peerConnection) {
peerConnection.close();
peerConnection = null;
console.log("Call ended.");
}
}
Comments
Post a Comment