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