diff options
author | henrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-07-17 14:42:53 +0000 |
---|---|---|
committer | henrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-07-17 14:42:53 +0000 |
commit | 692d748e58db01318ef10a7a19147da601e13e93 (patch) | |
tree | bcee3252b0b1ed6679f35276e8c5d9538f658cd6 /media/base/mediachannel.h | |
parent | 16cad563f67bc557867ec25273d93f5ca57185ae (diff) | |
download | talk-692d748e58db01318ef10a7a19147da601e13e93.tar.gz |
Update talk folder to revision=49470012. Same as 375 in libjingle's google code repository.
TBR=wu@webrtc.org
BUG=N/A
Review URL: https://webrtc-codereview.appspot.com/1824004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@4364 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'media/base/mediachannel.h')
-rw-r--r-- | media/base/mediachannel.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/media/base/mediachannel.h b/media/base/mediachannel.h index b20051e..441fbff 100644 --- a/media/base/mediachannel.h +++ b/media/base/mediachannel.h @@ -393,12 +393,6 @@ enum DtmfFlags { DF_SEND = 0x02, }; -// Special purpose DTMF event code used by the VoiceMediaChannel::InsertDtmf. -const int kDtmfDelay = -1; // Insert a delay to the end of the DTMF queue. -const int kDtmfReset = -2; // Reset the DTMF queue. -// The delay in ms when the InsertDtmf is called with kDtmfDelay. -const int kDtmfDelayInMs = 2000; - class MediaChannel : public sigslot::has_slots<> { public: class NetworkInterface { @@ -738,10 +732,8 @@ class VoiceMediaChannel : public MediaChannel { // Send and/or play a DTMF |event| according to the |flags|. // The DTMF out-of-band signal will be used on sending. // The |ssrc| should be either 0 or a valid send stream ssrc. - // The valid value for the |event| are -2 to 15. - // kDtmfReset(-2) is used to reset the DTMF. - // kDtmfDelay(-1) is used to insert a delay to the end of the DTMF queue. - // 0 to 15 which corresponding to DTMF event 0-9, *, #, A-D. + // The valid value for the |event| are 0 to 15 which corresponding to + // DTMF event 0-9, *, #, A-D. virtual bool InsertDtmf(uint32 ssrc, int event, int duration, int flags) = 0; // Gets quality stats for the channel. virtual bool GetStats(VoiceMediaInfo* info) = 0; |