Edit ACTION-17: Draft an API proposal for a DTMF track inside a MediaStream.




Due Date:

(accepts formats such as "2005-05-17", "+1 week", "14 August 2005" and "next Thursday")

Associated Issue:

Or Associated Product:

Add notes (no markup allowed, URIs get automatically hyperlinked):

Related emails:

  1. Re: Housekeeping: Open actions in the WG tracker (from juberti@google.com on 2011-12-15) (from juberti@google.com on 2011-12-15)
  2. Re: Housekeeping: Open actions in the WG tracker (from mmanig@gmail.com on 2011-12-09) (from mmanig@gmail.com on 2011-12-09)
  3. Re: Housekeeping: Open actions in the WG tracker (from juberti@google.com on 2011-12-09) (from juberti@google.com on 2011-12-09)
  4. Re: Housekeeping: Open actions in the WG tracker (from stefan.lk.hakansson@ericsson.com on 2011-12-09) (from stefan.lk.hakansson@ericsson.com on 2011-12-09)
  5. Housekeeping: Open actions in the WG tracker (from harald@alvestrand.no on 2011-12-09) (from harald@alvestrand.no on 2011-12-09)

Related notes:

Proposal by Justin to the list seems appropriate.


Harald Alvestrand, 15 Dec 2011, 07:51:55

said proposal:
We add support for DTMF by adding a single "insertDTMF" method to audio MediaStreamTracks. DTMF can be inserted either in outbound (sendonly) tracks, where it causes RFC 4733 DTMF to be generated (using the same SSRC and clock as the audio it interrupts), or in inbound (recvonly) tracks, where it causes the specified tones to be played out if the track is connected to an appropriate sink, e.g. an <audio/> tag.

The "canInsertDTMF" property also exists to allow applications to determine if a given track supports DTMF. All inbound tracks support DTMF, as do outbound tracks attached to a PeerConnection that has negotiated support for the "audio/telephone-event" media type.
class AudioMediaStreamTrack : MediaStreamTrack {
readonly attribute boolean canInsertDTMF;
void insertDTMF(in DOMString tones, optional long duration)

|tones| consists of 0-9, '#', '*', A-D, and ','
if unspecified, |duration| is 100 ms
inter-digit pause is 50 ms
',' adds an additional 50 ms pause

Dominique Hazaël-Massieux, 15 Dec 2011, 07:54:49

Harald Alvestrand <hta@google.com>, Bernard Aboba <bernarda@microsoft.com>, Jan-Ivar Bruaroey <jib@mozilla.com>, Chairs, Dominique Hazaël-Massieux <dom@w3.org>, Carine Bournez <carine@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $