Bug 195667 - unified plan: ice connection state goes to disconnected when adding a new m-line
Summary: unified plan: ice connection state goes to disconnected when adding a new m-line
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari Technology Preview
Hardware: Mac macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-13 02:51 PDT by Arne Gleditsch
Modified: 2019-06-10 08:59 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Gleditsch 2019-03-13 02:51:42 PDT
Safari TP 77 seems to exhibit the same (incorrect) behavior as Chrome when adding new m-lines to an existing peer connection: https://bugs.chromium.org/p/chromium/issues/detail?id=909684

To Reproduce:
* Go to https://webrtc.github.io/samples/src/content/peerconnection/pc1/
* Make a call (having Develop -> Experimental Features -> WebRTC Unified Plan enabled)
* Paste into the console:
navigator.mediaDevices.getDisplayMedia({video: true}).then(stream => {
    pc1.addTrack(stream.getTracks()[0], stream);
    pc1.createOffer().then(offer => pc1.setLocalDescription(offer));
});

* Observe that console output indicates that ICE state goes to "disconnected"
* Repeat having Unified Plan disabled, observing that the same does not happen in this scenario.
Comment 1 youenn fablet 2019-06-10 08:59:09 PDT
Unified plan is on by default.