<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>195667</bug_id>
          
          <creation_ts>2019-03-13 02:51:42 -0700</creation_ts>
          <short_desc>unified plan: ice connection state goes to disconnected when adding a new m-line</short_desc>
          <delta_ts>2019-06-10 08:59:09 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebRTC</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.14</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Arne Gleditsch">argggh</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1515924</commentid>
    <comment_count>0</comment_count>
    <who name="Arne Gleditsch">argggh</who>
    <bug_when>2019-03-13 02:51:42 -0700</bug_when>
    <thetext>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 -&gt; Experimental Features -&gt; WebRTC Unified Plan enabled)
* Paste into the console:
navigator.mediaDevices.getDisplayMedia({video: true}).then(stream =&gt; {
    pc1.addTrack(stream.getTracks()[0], stream);
    pc1.createOffer().then(offer =&gt; pc1.setLocalDescription(offer));
});

* Observe that console output indicates that ICE state goes to &quot;disconnected&quot;
* Repeat having Unified Plan disabled, observing that the same does not happen in this scenario.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1543343</commentid>
    <comment_count>1</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2019-06-10 08:59:09 -0700</bug_when>
    <thetext>Unified plan is on by default.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>