samples-server
samples-server copied to clipboard
How to attach remote video from another peer to <video> tag ?
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; }