Bug 15205 - Add API for sending and playing DTMF tones
Summary: Add API for sending and playing DTMF tones
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: Cullen Jennings
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 08:26 UTC by Justin Uberti
Modified: 2012-03-19 16:21 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Uberti 2011-12-15 08:26:26 UTC
This bug will track the details of the DTMF API.

Current proposal (from https://docs.google.com/a/google.com/document/d/1oqPfWoeq9mDAJKV8RStw-FVzln7HRO50gkFR0wiPjbk/edit?hl=en_US):

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
Comment 1 Cullen Jennings 2012-01-12 16:26:33 UTC
Proposal has been added to git version