<?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>25893</bug_id>
          
          <creation_ts>2014-05-27 11:39:58 +0000</creation_ts>
          <short_desc>Offer Answer options should supported sendOnly and inactive media states.</short_desc>
          <delta_ts>2014-10-31 18:02:49 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Web RTC Working Group">public-webrtc</assigned_to>
          <cc>harald</cc>
    
    <cc>juberti</cc>
    
    <cc>martin.thomson</cc>
    
    <cc>public-webrtc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106840</commentid>
    <comment_count>0</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-05-27 11:39:58 +0000</bug_when>
    <thetext>RTCOfferAnswerOptions is currently supporting recvOnly state through offerToReceiveAudio, offerToReceiveVideo.

It should also support options to enable &quot;sendOnly&quot; and &quot;inactive&quot; media formats.

sendOnly and inactive of SDP are required, for example, in hold scenario as specified RFC 5359 [1] section 2.1

   &quot;Older UAs may set the
   connection address to 0.0.0.0 when initiating hold.  However, this
   behavior has been deprecated in favor or using the a=inactive SDP
   attribute if no media is sent, or the a=sendonly attribute if media
   is still sent.&quot;


[1] http://tools.ietf.org/html/rfc5359</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106849</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2014-05-27 18:18:59 +0000</bug_when>
    <thetext>I removed RTCOfferAnswerOptions, so it might need to be added back.  But I&apos;m not sure that this is the right place to include that information.  RTCConfiguration might be more appropriate.  (See OfferToReceiveAudio for example).

We should definitely talk about providing widgets that allow a peer to say that they don&apos;t want reciprocal media.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106980</commentid>
    <comment_count>2</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-05-29 13:19:18 +0000</bug_when>
    <thetext>OfferToReceiveAudio marks SDP mediaStreams to be recvOnly.

I think, we can move SDP options like 
sendOnly, recvOnly, inactive corresponding to OfferToReceiveAudio, OfferToSendAudio, OfferToInactiveAudio (names may be changed) respectively
to track level i.e., to RTCRTPSender/RTCRTPReceiver 
instead of moving to RTCConfiguration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106987</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2014-05-29 16:29:16 +0000</bug_when>
    <thetext>(In reply to Kiran from comment #2)
&gt; OfferToReceiveAudio marks SDP mediaStreams to be recvOnly.

It depends on the value.

if OfferToReceiveAudio &lt; nAudioStreams, then some streams will be made sendonly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106996</commentid>
    <comment_count>4</comment_count>
    <who name="Justin Uberti">juberti</who>
    <bug_when>2014-05-29 19:12:19 +0000</bug_when>
    <thetext>sendOnly/inactive will be controlled via RTCRtpSender/Receiver controls.

OfferToReceiveAudio simply adds additional recvonly m-lines to work around the SDP limitation that the answerer can&apos;t respond with more than what was offered. There&apos;s no need for createOffer to have controls on exactly which direction should be signalled.

Regarding #3, streams are never made to be sendonly through use of OfferToReceiveAudio, although an answer to a recvonly stream will necessarily be sendonly (or less).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114380</commentid>
    <comment_count>5</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-10-31 18:02:49 +0000</bug_when>
    <thetext>This should not be controlled by this control surface. Closing as WONTFIX.

(correct surface is via RTPSender/RTPReceiver).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>