I wonder if it is possible to play the stream which I am currently publishing from the server via WebRTC (let's say for diagnostic sake) instead of just playing the stream from webcam directly?
I'm trying to call webRTCAdaptor.play() passing my own streamId in publish_started callback, but getting "notSetRemoteDescription" error which states:
"webrtc_adaptor.js:908 set remote description is failed with error: InvalidAccessError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer."
Am I doing something wrong or there is no such possibility at all?
Question
dmitry027
Hello, everyone.
I wonder if it is possible to play the stream which I am currently publishing from the server via WebRTC (let's say for diagnostic sake) instead of just playing the stream from webcam directly?
I'm trying to call webRTCAdaptor.play() passing my own streamId in publish_started callback, but getting "notSetRemoteDescription" error which states:
"webrtc_adaptor.js:908 set remote description is failed with error: InvalidAccessError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer."
Am I doing something wrong or there is no such possibility at all?
Link to comment
Share on other sites
Top Posters For This Question
4
2
1
Popular Days
Dec 1
4
Dec 2
2
Nov 30
1
Top Posters For This Question
dmitry027 4 posts
rahul7827 2 posts
Selim 1 post
Popular Days
Dec 1 2022
4 posts
Dec 2 2022
2 posts
Nov 30 2022
1 post
Popular Posts
rahul7827
Hi @dmitry027 Are you trying something like this ? Are you using same webRTCAdaptor object to publish and play ?
dmitry027
Hello, everyone. I wonder if it is possible to play the stream which I am currently publishing from the server via WebRTC (let's say for diagnostic sake) instead of just playing the stream from w
Selim
Hi @dmitry027, Thank you for reporting this issue. Is there any reproduce scenario for that? Also, do you see any kind of error on the Ant Media Server logs? Best Regards, Selim
6 answers to this question
Recommended Posts