| Index: talk/media/base/mediachannel.h
|
| diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h
|
| index 3f777b3bbcb560a69625bd009a812e3149ef7cab..e2c523fb7fe2ff079ffc43ee88b9b29edb19d027 100644
|
| --- a/talk/media/base/mediachannel.h
|
| +++ b/talk/media/base/mediachannel.h
|
| @@ -447,12 +447,6 @@ enum VoiceMediaChannelOptions {
|
| OPT_AGC_MINUS_10DB = 0x80000000
|
| };
|
|
|
| -// DTMF flags to control if a DTMF tone should be played and/or sent.
|
| -enum DtmfFlags {
|
| - DF_PLAY = 0x01,
|
| - DF_SEND = 0x02,
|
| -};
|
| -
|
| class MediaChannel : public sigslot::has_slots<> {
|
| public:
|
| class NetworkInterface {
|
| @@ -1022,16 +1016,12 @@ class VoiceMediaChannel : public MediaChannel {
|
| // Set speaker output volume of the specified ssrc.
|
| virtual bool SetOutputVolume(uint32_t ssrc, double volume) = 0;
|
| // Returns if the telephone-event has been negotiated.
|
| - virtual bool CanInsertDtmf() { return false; }
|
| - // Send and/or play a DTMF |event| according to the |flags|.
|
| - // The DTMF out-of-band signal will be used on sending.
|
| + virtual bool CanInsertDtmf() = 0;
|
| + // Send a DTMF |event|. The DTMF out-of-band signal will be used.
|
| // The |ssrc| should be either 0 or a valid send stream ssrc.
|
| // The valid value for the |event| are 0 to 15 which corresponding to
|
| // DTMF event 0-9, *, #, A-D.
|
| - virtual bool InsertDtmf(uint32_t ssrc,
|
| - int event,
|
| - int duration,
|
| - int flags) = 0;
|
| + virtual bool InsertDtmf(uint32_t ssrc, int event, int duration) = 0;
|
| // Gets quality stats for the channel.
|
| virtual bool GetStats(VoiceMediaInfo* info) = 0;
|
| };
|
|
|