Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: webrtc/modules/rtp_rtcp/include/rtp_receiver.h

Issue 2357583002: Remove unnecessary interface TelephoneEventHandler (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/include/rtp_receiver.h
diff --git a/webrtc/modules/rtp_rtcp/include/rtp_receiver.h b/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
index 9db1c63da78976d554d8530e916f017cf99a66be..c04a173ff4acafc180053c06ab423a8386610336 100644
--- a/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
+++ b/webrtc/modules/rtp_rtcp/include/rtp_receiver.h
@@ -18,21 +18,6 @@ namespace webrtc {
class RTPPayloadRegistry;
-class TelephoneEventHandler {
- public:
- virtual ~TelephoneEventHandler() {}
-
- // The following three methods implement the TelephoneEventHandler interface.
- // Forward DTMFs to decoder for playout.
- virtual void SetTelephoneEventForwardToDecoder(bool forward_to_decoder) = 0;
-
- // Is forwarding of outband telephone events turned on/off?
- virtual bool TelephoneEventForwardToDecoder() const = 0;
-
- // Is TelephoneEvent configured with payload type payload_type
- virtual bool TelephoneEventPayloadType(const int8_t payload_type) const = 0;
-};
-
class RtpReceiver {
public:
// Creates a video-enabled RTP receiver.
@@ -51,9 +36,6 @@ class RtpReceiver {
virtual ~RtpReceiver() {}
- // Returns a TelephoneEventHandler if available.
- virtual TelephoneEventHandler* GetTelephoneEventHandler() = 0;
-
// Registers a receive payload in the payload registry and notifies the media
// receiver strategy.
virtual int32_t RegisterReceivePayload(
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698