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