Index: talk/app/webrtc/objc/RTCPeerConnectionFactory.mm |
diff --git a/talk/app/webrtc/objc/RTCPeerConnectionFactory.mm b/talk/app/webrtc/objc/RTCPeerConnectionFactory.mm |
index 3393eca16c218498c592b0680cda7bf52f465282..a60263a12f7c61bcd7c63db247be60379a8438f5 100644 |
--- a/talk/app/webrtc/objc/RTCPeerConnectionFactory.mm |
+++ b/talk/app/webrtc/objc/RTCPeerConnectionFactory.mm |
@@ -125,9 +125,8 @@ |
if (!capturer) { |
return nil; |
} |
- rtc::scoped_refptr<webrtc::VideoSourceInterface> source = |
- self.nativeFactory->CreateVideoSource([capturer takeNativeCapturer], |
- constraints.constraints); |
+ rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> source = |
+ self.nativeFactory->CreateVideoSource([capturer takeNativeCapturer], constraints.constraints); |
return [[RTCVideoSource alloc] initWithMediaSource:source]; |
} |