<?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>26279</bug_id>
          
          <creation_ts>2014-07-08 03:36:44 +0000</creation_ts>
          <short_desc>Options attribute is required for createAnswer</short_desc>
          <delta_ts>2014-12-15 10:39:25 +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>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="Kiran">kiran.guduru</reporter>
          <assigned_to name="Justin Uberti">juberti</assigned_to>
          <cc>harald</cc>
    
    <cc>juberti</cc>
    
    <cc>public-webrtc</cc>
    
    <cc>steev.a.james</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108779</commentid>
    <comment_count>0</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-07-08 03:36:44 +0000</bug_when>
    <thetext>Options attribute is missing for createAnswer [1].
As per RFC 3264 section 6.1 [2], Answerer should have provision to respond with the preferred option.

1. recvonly or inactive if the offered stream is sendonly.
2. sendonly or inactive if the offered stream is recvonly.
3. sendrecv or recvonly or sendonly or inactive if the offered stream is sendrecv.

   &quot;If a stream is offered as sendonly, the corresponding stream MUST be
   marked as recvonly or inactive in the answer.  If a media stream is
   listed as recvonly in the offer, the answer MUST be marked as
   sendonly or inactive in the answer.  If an offered media stream is
   listed as sendrecv (or if there is no direction attribute at the
   media or session level, in which case the stream is sendrecv by
   default), the corresponding stream in the answer MAY be marked as
   sendonly, recvonly, sendrecv, or inactive.  If an offered media
   stream is listed as inactive, it MUST be marked as inactive in the
   answer&quot;

[1] http://dev.w3.org/2011/webrtc/editor/webrtc.html#interface-definition
[2] http://tools.ietf.org/html/rfc3264#page-9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108864</commentid>
    <comment_count>1</comment_count>
    <who name="Justin Uberti">juberti</who>
    <bug_when>2014-07-11 16:37:16 +0000</bug_when>
    <thetext>The options to CreateAnswer are the wrong place for this. 

To reject the offered stream, this is done by .stop()ing the MST that was offered, or by setting the .active property to false on the created RTPReceiver object.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108890</commentid>
    <comment_count>2</comment_count>
    <who name="steev">steev.a.james</who>
    <bug_when>2014-07-13 01:48:14 +0000</bug_when>
    <thetext>I hope, we have to wait for discussing on this until doohickeys are specified in document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114390</commentid>
    <comment_count>3</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-10-31 18:23:35 +0000</bug_when>
    <thetext>The only identified need for this options parameter is setting VoiceActivityDetection.

We should add the AnswerOptions to CreateAnswer, with only the VAD member (for now). (but not try to give it a common base with OfferOptions; the previous stuff was too convoluted.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116311</commentid>
    <comment_count>4</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2014-12-15 10:39:25 +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>