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

Unified Diff: webrtc/api/rtpreceiver.cc

Issue 1766653002: Replace SetCapturer and SetCaptureDevice by SetSource. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Move objc instance variables to the implementation file. 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
Index: webrtc/api/rtpreceiver.cc
diff --git a/webrtc/api/rtpreceiver.cc b/webrtc/api/rtpreceiver.cc
index 0150dfd546c25e3b238b61a22e8ed58adf7dbd0d..9a5fcfc9dbceb230b2b5c051b60a9ea2e21f7f3a 100644
--- a/webrtc/api/rtpreceiver.cc
+++ b/webrtc/api/rtpreceiver.cc
@@ -24,7 +24,7 @@ AudioRtpReceiver::AudioRtpReceiver(MediaStreamInterface* stream,
ssrc_(ssrc),
provider_(provider),
track_(AudioTrackProxy::Create(
- rtc::Thread::Current(),
+ rtc::Thread::Current(), nullptr,
AudioTrack::Create(track_id,
RemoteAudioSource::Create(ssrc, provider)))),
cached_track_enabled_(track_->enabled()) {
@@ -84,7 +84,7 @@ VideoRtpReceiver::VideoRtpReceiver(MediaStreamInterface* stream,
worker_thread,
true /* remote */)),
track_(VideoTrackProxy::Create(
- rtc::Thread::Current(),
+ rtc::Thread::Current(), worker_thread,
VideoTrack::Create(track_id, source_.get()))) {
source_->SetState(MediaSourceInterface::kLive);
provider_->SetVideoPlayout(ssrc_, true, &broadcaster_);

Powered by Google App Engine
This is Rietveld 408576698