webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

the connected RTCPeerConnection addTransceiver() trigger onnegotiationneeded . after negotiation,new track donot play.

Open DehaiWang opened this issue 4 years ago • 1 comments

I user Chrome 86.0.4240.111. I code as like examples "broadcast",but the speakers are more than one .

when the new speaker join in the room, the connected RTCPeerConnection in browser side addTransceiver('video') , browser side trigger onnegotiationneeded , browser side createOffer(),setLocalDescription(),sent offer to the server side.

the connected RTCPeerConnection in server side receive the offer, addTrack(), SetRemoteDescription() , CreateAnswer(), SetLocalDescription(),and send LocalDescription() to browser side.

the connected RTCPeerConnection in browser side receive the answer, setRemoteDescription(),and the new negotiation complete.

After negotiation,the connected RTCPeerConnection in browser side trigger ontrack,and js document.createElement('video'),but the new track video donot play,it is black.

DehaiWang avatar Nov 07 '20 06:11 DehaiWang

anyone any leads on this?

prncvrm avatar Jan 28 '23 10:01 prncvrm