public IVideoCapturer CreateVideoCapturer(IPeerConnectionFactory factory, IVideoSource videoSource) { if (!isSimulator) { return(factory.CreateCameraCapturer(videoSource, true)); } fileCapturerController = new FileCapturerController(videoSource); return(fileCapturerController); }
public WebRTC.Interfaces.IVideoCapturer CreateVideoCapturer(IPeerConnectionFactory factory, IVideoSource videoSource) => factory.CreateCameraCapturer(videoSource, true);
public ICameraVideoCapturer CreateCameraCapturer(IVideoSource videoSource, bool frontCamera) => _peerConnectionFactory.CreateCameraCapturer(videoSource, frontCamera);
public ICameraVideoCapturer CreateCameraCapturer(IVideoSource videoSource, bool frontCamera) { return(_factory.CreateCameraCapturer(videoSource, frontCamera)); }