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

Unified Diff: webrtc/voice_engine/channel_proxy.h

Issue 1909333002: Switch voice transport to use Call and Stream instead of VoENetwork. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed coments on ps#6 Created 4 years, 8 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 | « webrtc/voice_engine/channel.cc ('k') | webrtc/voice_engine/channel_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/channel_proxy.h
diff --git a/webrtc/voice_engine/channel_proxy.h b/webrtc/voice_engine/channel_proxy.h
index f8f0659af8742766f247c6265e61d7a177391b78..df0c3f22ef67cd0c5bf2d2ab34f92cd47c8a7751 100644
--- a/webrtc/voice_engine/channel_proxy.h
+++ b/webrtc/voice_engine/channel_proxy.h
@@ -25,6 +25,7 @@ namespace webrtc {
class AudioSinkInterface;
class PacketRouter;
class RtpPacketSender;
+class Transport;
class TransportFeedbackObserver;
namespace voe {
@@ -72,6 +73,13 @@ class ChannelProxy {
virtual bool SendTelephoneEventOutband(int event, int duration_ms);
virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink);
+ virtual void RegisterExternalTransport(Transport* transport);
+ virtual void DeRegisterExternalTransport();
+ virtual bool ReceivedRTPPacket(const uint8_t* packet,
+ size_t length,
+ const PacketTime& packet_time);
+ virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length);
+
private:
Channel* channel() const;
« no previous file with comments | « webrtc/voice_engine/channel.cc ('k') | webrtc/voice_engine/channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698