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

Unified Diff: talk/app/webrtc/mediacontroller.h

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Connect to SignalSentPacket when enabling bundle. Created 5 years, 2 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 | talk/app/webrtc/mediacontroller.cc » ('j') | talk/app/webrtc/mediacontroller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/mediacontroller.h
diff --git a/talk/app/webrtc/mediacontroller.h b/talk/app/webrtc/mediacontroller.h
index 68798515d00984c586a88fbf8346f75ca96f309b..bae89775bfaa8dffd9516821090cd3ff98c65734 100644
--- a/talk/app/webrtc/mediacontroller.h
+++ b/talk/app/webrtc/mediacontroller.h
@@ -29,16 +29,29 @@
#define TALK_APP_WEBRTC_MEDIACONTROLLER_H_
#include "webrtc/base/thread.h"
+#include "webrtc/common_types.h"
+#include "webrtc/call.h"
+
+namespace cricket {
+class TransportChannel;
+} // namespace cricket
pthatcher1 2015/10/09 20:57:48 You don't need this any more, do you?
stefan-webrtc 2015/10/10 15:32:51 Done.
namespace webrtc {
-class Call;
class VoiceEngine;
+class CallFactory {
+ public:
+ virtual Call* CreateCall(const webrtc::Call::Config& config) {
+ return webrtc::Call::Create(config);
+ }
+};
+
// The MediaController currently owns shared state between media channels, but
// in the future will create and own RtpSenders and RtpReceivers.
class MediaControllerInterface {
public:
- static MediaControllerInterface* Create(rtc::Thread* worker_thread,
+ static MediaControllerInterface* Create(CallFactory* call_factory,
+ rtc::Thread* worker_thread,
webrtc::VoiceEngine* voice_engine);
virtual ~MediaControllerInterface() {}
« no previous file with comments | « no previous file | talk/app/webrtc/mediacontroller.cc » ('j') | talk/app/webrtc/mediacontroller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698