Index: webrtc/voice_engine/channel.h |
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
index b43c7379b5ba060a15ebb4ce62c596de92002dd3..9ecfc8c13e64310e0058b06816311a9ccf168341 100644 |
--- a/webrtc/voice_engine/channel.h |
+++ b/webrtc/voice_engine/channel.h |
@@ -19,6 +19,7 @@ |
#include "webrtc/base/event.h" |
#include "webrtc/base/optional.h" |
#include "webrtc/base/thread_checker.h" |
+#include "webrtc/call/rtp_transport_controller_receive.h" |
#include "webrtc/common_audio/resampler/include/push_resampler.h" |
#include "webrtc/common_types.h" |
#include "webrtc/modules/audio_coding/acm2/codec_manager.h" |
@@ -132,6 +133,7 @@ class ChannelState { |
class Channel |
: public RtpData, |
public RtpFeedback, |
+ public RtpPacketSinkInterface, |
public FileCallback, // receiving notification from file player & |
// recorder |
public Transport, |
@@ -213,7 +215,9 @@ class Channel |
const PacketTime& packet_time); |
// TODO(nisse, solenberg): Delete when VoENetwork is deleted. |
int32_t ReceivedRTCPPacket(const uint8_t* data, size_t length); |
- void OnRtpPacket(const RtpPacketReceived& packet); |
+ |
+ // RtpPacketSinkInterface implementation. |
+ void OnRtpPacket(const RtpPacketReceived& packet) override; |
// VoEFile |
int StartPlayingFileLocally(const char* fileName, |
@@ -278,9 +282,7 @@ class Channel |
int GetLocalSSRC(unsigned int& ssrc); |
int GetRemoteSSRC(unsigned int& ssrc); |
int SetSendAudioLevelIndicationStatus(bool enable, unsigned char id); |
- int SetReceiveAudioLevelIndicationStatus(bool enable, unsigned char id); |
void EnableSendTransportSequenceNumber(int id); |
- void EnableReceiveTransportSequenceNumber(int id); |
void RegisterSenderCongestionControlObjects( |
RtpTransportControllerSendInterface* transport, |