Index: talk/app/webrtc/objc/RTCAVFoundationVideoSource.mm |
diff --git a/talk/app/webrtc/objc/RTCAVFoundationVideoSource.mm b/talk/app/webrtc/objc/RTCAVFoundationVideoSource.mm |
index 525cead7da2a1368b7ec91f3ecdd234c3452a807..9d82283142c19baf3283db2a905464816220714d 100644 |
--- a/talk/app/webrtc/objc/RTCAVFoundationVideoSource.mm |
+++ b/talk/app/webrtc/objc/RTCAVFoundationVideoSource.mm |
@@ -39,9 +39,8 @@ |
NSParameterAssert(factory); |
rtc::scoped_ptr<webrtc::AVFoundationVideoCapturer> capturer; |
capturer.reset(new webrtc::AVFoundationVideoCapturer()); |
- rtc::scoped_refptr<webrtc::VideoSourceInterface> source = |
- factory.nativeFactory->CreateVideoSource(capturer.release(), |
- constraints.constraints); |
+ rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> source = |
+ factory.nativeFactory->CreateVideoSource(capturer.release(), constraints.constraints); |
return [super initWithMediaSource:source]; |
} |