samples-server icon indicating copy to clipboard operation
samples-server copied to clipboard

How to attach remote video from another peer to <video> tag ?

Open Msahique opened this issue 5 years ago • 0 comments

We are not able to stream video to another peer , but able to see local video. Our hunch is that the remote stream coming from the other peer is not binding to the video element.. Thanks in advance. function handleTrackEvent(event) { log("*** Track event"); document.getElementById("received_video").srcObject = event.streams[0]; document.getElementById("hangup-button").disabled = false; }

Msahique avatar Aug 11 '20 14:08 Msahique