[Bug 25576] New: steps for createDTMFSender() are missing.


            Bug ID: 25576
           Summary: steps for createDTMFSender() are missing.
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: WebRTC API
          Assignee: public-webrtc@w3.org
          Reporter: kiran.guduru@samsung.com
                CC: public-webrtc@w3.org

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

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Tuesday, 6 May 2014 11:24:37 UTC