<?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>25361</bug_id>
          
          <creation_ts>2014-04-16 04:24:53 +0000</creation_ts>
          <short_desc>Media Capture and Streams spec should explicitly specify that recvonly streams / tracks should be considered as muted.</short_desc>
          <delta_ts>2014-05-08 08:05:16 +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>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Kiran">kiran.guduru</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>adam.bergkvist</cc>
    
    <cc>public-media-capture</cc>
    
    <cc>stefan.lk.hakansson</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103934</commentid>
    <comment_count>0</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-04-16 04:24:53 +0000</bug_when>
    <thetext>The remote MediaStreamTracks may be temporarily stopped receiving data from the remote peer, if the streams / tracks are specified to be recvonly in the sdp.

In Section 4.3.1 &quot;Life-cycle and media flow&quot; of [1], it is specified that 
&quot;a track that is a member of a MediaStream, received via a RTCPeerConnection [WEBRTC10], is muted if the application on the other side disables the corresponding track in the MediaStream being sent.&quot;

This statement should be extended as below.

&quot;a track that is a member of a MediaStream, received via a RTCPeerConnection [WEBRTC10], is muted if the application on the other side disables the corresponding track in the MediaStream being sent or it is specified as a recvonly stream in the SDP.&quot;

[1] http://www.w3.org/TR/mediacapture-streams/#life-cycle-and-media-flow</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104160</commentid>
    <comment_count>1</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-04-22 11:11:44 +0000</bug_when>
    <thetext>I think we should not extend the statement, but rather remove it. This kind of info belongs in the WebRTC document IMO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104249</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-04-23 07:24:28 +0000</bug_when>
    <thetext>Perhaps it&apos;s ok to mention RTCPeerConnection as an example of a future &quot;MediaStream source&quot; that&apos;s outside the scope of this spec. But we shouldn&apos;t be too specific about it&apos;s behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104317</commentid>
    <comment_count>3</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-04-24 06:16:10 +0000</bug_when>
    <thetext>I agree with Adam to give the example of a future &quot;MediaStream source&quot;.

Re-reading the spec, it seems &quot;disabled&quot; should be replaced with &quot;recvonly&quot;, instead of extending, as explained below.

A disabled track outputs blackness / silence.
Since in this case, remote track is disabled, it will any how send blackness / silence to remote end (to its consumer). So receiving end will receive blackness / silence from its (remote) source.

But from [1], A MediaStreamTrack is muted when the source is temporarily unable to provide the track with data.

If the track is &quot;recvonly&quot;, then remote peer will not send any data (even blackness / silence), will be more apt for that example?

[1] http://www.w3.org/TR/mediacapture-streams/#life-cycle-and-media-flow</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104431</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-04-25 11:23:42 +0000</bug_when>
    <thetext>Back from list discussion.

So is the conclusion that we should, for now at least, remove the example all together and simply cut after the first sentence below?

A track can also be muted by the user agent. For example, a track that is a member of a MediaStream, received via a RTCPeerConnection [WEBRTC10], is muted if the application on the other side disables the corresponding track in the MediaStream being sent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104435</commentid>
    <comment_count>5</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-04-25 11:34:17 +0000</bug_when>
    <thetext>Yes,
To remove the example, for now, and keep the first sentence.

&quot;A track can also be muted by the user agent.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104972</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-05-02 14:08:11 +0000</bug_when>
    <thetext>Proposed fix: https://github.com/fluffy/webrtc-w3c/commit/099c935185e695aab5f78c234c93625099c756a0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105405</commentid>
    <comment_count>7</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-05-08 08:05:16 +0000</bug_when>
    <thetext>Fixed in http://dev.w3.org/2011/webrtc/editor/archives/20140507/getusermedia.html.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>