<?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>25576</bug_id>
          
          <creation_ts>2014-05-06 11:24:36 +0000</creation_ts>
          <short_desc>steps for createDTMFSender() are missing.</short_desc>
          <delta_ts>2014-11-05 08:52:09 +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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kiran">kiran.guduru</reporter>
          <assigned_to name="Adam Bergkvist">adam.bergkvist</assigned_to>
          <cc>harald</cc>
    
    <cc>public-webrtc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105172</commentid>
    <comment_count>0</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-05-06 11:24:36 +0000</bug_when>
    <thetext>In WebRTC spec [1], steps to specify the creation of DTMFsender are missing, while explaining the createDTMFSender.

Adding the following steps may fix this.

1. If the RTCPeerConnection object’s RTCPeerConnection signalingState is closed, throw an InvalidStateError exception and abort these steps.

2. Let sender be a newly created RTCDTMFSender object.

3. set senders track attribute to the received track.

4. set the senders canInsertDTMF attribute to true.

5. If the MediaStreamTrack.readyState is new, set the MediaStreamTrack.readyState to started.

6. Return the newly created sender.

7. In case of any error while creating the sender, return NULL and abort the steps following it.


[1] http://dev.w3.org/2011/webrtc/editor/webrtc.html#dfn-createdtmfsender</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107521</commentid>
    <comment_count>1</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-06-09 12:51:21 +0000</bug_when>
    <thetext>It seems good to add the following step also to make sure that the track attribute referred by DTMFSender is of audio.

2. If the received track is not of kind &apos;audio&apos; throw TYPE-MISMATCH error and abort these steps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114322</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-10-31 14:16:15 +0000</bug_when>
    <thetext>Assigning for editing.

Editors have discretion on how detailed to make the procedure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114544</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-11-05 08:52:09 +0000</bug_when>
    <thetext>closing as WONTFIX since createDTMFSender() will be removed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>