diff options
author | solenberg@webrtc.org <solenberg@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-03-24 10:38:25 +0000 |
---|---|---|
committer | solenberg@webrtc.org <solenberg@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-03-24 10:38:25 +0000 |
commit | fec6b6e5999edec8c90efae54357f1aae6a4c7dd (patch) | |
tree | a7d3c528250cc6d88a6cf56f6e0065b631ce57e3 /voice_engine/channel.h | |
parent | 24be06c54a94d1bf555dccdfd4e2a33ad69f70c4 (diff) | |
download | webrtc-fec6b6e5999edec8c90efae54357f1aae6a4c7dd.tar.gz |
VoE changes to allow forwarding of packets from VoE to ViE BWE.
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/10419004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5757 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/channel.h')
-rw-r--r-- | voice_engine/channel.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/voice_engine/channel.h b/voice_engine/channel.h index f3bc0966..43cfe99a 100644 --- a/voice_engine/channel.h +++ b/voice_engine/channel.h @@ -47,6 +47,7 @@ class RtpReceiver; class RTPReceiverAudio; class RtpRtcp; class TelephoneEventHandler; +class ViENetwork; class VoEMediaProcess; class VoERTCPObserver; class VoERTPObserver; @@ -222,7 +223,8 @@ public: // VoENetwork int32_t RegisterExternalTransport(Transport& transport); int32_t DeRegisterExternalTransport(); - int32_t ReceivedRTPPacket(const int8_t* data, int32_t length); + int32_t ReceivedRTPPacket(const int8_t* data, int32_t length, + const PacketTime& packet_time); int32_t ReceivedRTCPPacket(const int8_t* data, int32_t length); // VoEFile @@ -366,6 +368,8 @@ public: int StopRTPDump(RTPDirections direction); bool RTPDumpIsActive(RTPDirections direction); uint32_t LastRemoteTimeStamp() { return _lastRemoteTimeStamp; } + // Takes ownership of the ViENetwork. + void SetVideoEngineBWETarget(ViENetwork* vie_network, int video_channel); // From AudioPacketizationCallback in the ACM int32_t SendData(FrameType frameType, @@ -614,6 +618,8 @@ private: uint32_t _countAliveDetections; uint32_t _countDeadDetections; AudioFrame::SpeechType _outputSpeechType; + ViENetwork* vie_network_; + int video_channel_; // VoEVideoSync uint32_t _average_jitter_buffer_delay_us; int least_required_delay_ms_; |