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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25859</bug_id>
          
          <creation_ts>2014-05-21 19:34:53 +0000</creation_ts>
          <short_desc>Streams that become isolated generate errors on PC</short_desc>
          <delta_ts>2014-12-15 10:39:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>WebRTC API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</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="Martin Thomson">martin.thomson</reporter>
          <assigned_to name="Martin Thomson">martin.thomson</assigned_to>
          <cc>adam.bergkvist</cc>
    
    <cc>harald</cc>
    
    <cc>public-webrtc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106604</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2014-05-21 19:34:53 +0000</bug_when>
    <thetext>When a stream becomes isolated (see 25856) we should surface an error and stop sending media for that track (we might have to continue transmission - ask the IETF group - but no content can be sent).

The only exception to this is if the stream is isolated and peerIdentity tagged.  Those can potentially be transmitted.

Proposal is:

partial interface RTCPeerConnection : EventTarget {
  attribute EventHandler? onerror;
};

[Constructor(TrackIsolatedEventInit args)]
interface TrackIsolatedEvent : Event {
  attribute MediaStreamTrack track;
};

Alternatively:

partial interface RTCRtpSender : EventTarget {
  attribute EventHandler? onerror;
};


Which might be a little better because the error can be generic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114376</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-10-31 17:57:06 +0000</bug_when>
    <thetext>Martin will make PR.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114378</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-10-31 18:01:22 +0000</bug_when>
    <thetext>This needs some more thinking; not PR-ready.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114547</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-11-05 10:20:21 +0000</bug_when>
    <thetext>This event can use the MediaStreamTrackEvent interface [1].

[1] http://w3c.github.io/mediacapture-main/#mediastreamtrackevent</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114564</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2014-11-05 17:11:59 +0000</bug_when>
    <thetext>(In reply to Adam Bergkvist from comment #3)
&gt; This event can use the MediaStreamTrackEvent interface [1].

It doesn&apos;t need to.  event.target will identify the track since the event is fired at the track.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114745</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-11-10 13:38:14 +0000</bug_when>
    <thetext>Even better. We can use a simple Event.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116305</commentid>
    <comment_count>6</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2014-12-15 10:39:19 +0000</bug_when>
    <thetext>WebRTC API bugs have been moved to github issues: https://github.com/w3c/webrtc-pc/issues

Please subscribe to the issues you want to keep watching.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>