Error Failed to execute 'createOffer' on 'RTCPeerConnection
See original GitHub issueBug Report
Your environment
- Operating system: Catalina 10.15.7
- Browser version: chrome Version 87.0.4280.67 (Official Build) (x86_64)
- mediasoup version: 3.6.16
- mediasoup-client version: 3.6.12
Issue description
- produce screen sharing with audio using getDisplayMedia.
- close created producers.
- produce screen sharing with audio again
- then the error occurs and producing failed
Failed to produce DOMException: Failed to execute 'createOffer' on 'RTCPeerConnection': Session error code: ERROR_CONTENT. Session error description: Unknown transceiver.
- This error occures only when selecting chrome tab with share video.
- And It didn’t occur in chrome version 86.0.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:31 (18 by maintainers)
Top Results From Across the Web
Failed to execute 'createOffer' on 'RTCPeerConnection when ...
To reproduce error: start an instance of CEFSharp browser and navigate to "https://teams.com"; Start or join a meeting with vieo and audio.
Read more >RTCPeerConnection.createOffer() - Web APIs | MDN
The createOffer() method of the RTCPeerConnection interface initiates the creation of an SDP offer for the purpose of starting a new WebRTC ...
Read more >RTCPeerConnection setting offer sdp does not match the ...
When I recreate offer in another process and then set answer sdp I get error as "Failed to create session description: InvalidAccessError: Failed...
Read more >Failed to execute 'addTransceiver' on RTCPeerConnection
Getting some new error. What we get: DP create offer error: {“stack”:"Error: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This ...
Read more >Safari rejects offer generated by peerconnection.createOffer()
removeTrack(micTransceiver.sender); // NOTE: Chrome does not implement transceive.stop(). try { micTransceiver.stop(); } catch(error) {} // NOTE ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, confirmed that:
So closing. Nothing to do in mediasoup-client side.
I don’t want to go to higher levels. The issue is clearly reproducible with my steps above and the error is in
pc.setLocalDescription()
(there may be more, but this is clear) so this is a regression in Chrome/libwebrtc.I know that it’s easier to report issues here than in Chroimum/libwebrtc trackers since there they require a jsfiddle that reproduces the error and they don’t want to know anything about higher layers (such as mediasoup-client library). If I have time next week I’ll try to make a jsfiddle reproducing the bug by just using PeerConnections. If anyone can help on this, that would be great, but this is not a bug in mediasoup-client. I’ll keep this issue open for updates.