I have tried two use cases to play webrtc playback on videojs.
After getting MediaStream from webrtc and add like the following:
(CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) error.
If i do like following, I’m not getting any error but video does not play either.
var vid=player.tech().el(); vid.srcObject=webRTCAdaptor.remoteVideo.srcObject;
player.play() doesn’t change anything.
Does anybody has any insight about it?
Read more here: Source link