onStart

Notification for starting the custom video source.


            
             

The SDK triggers this callback to remind you to start the custom video source for capturing video. The SDK uses IVideoFrameConsumer to receive the video frame that you capture after the video source is started. You must use the return value to tell the SDK whether the custom video source is started.

Returns

  • true: The custom video source is started.
  • false: The custom video source fails to start. The SDK stops and reports the error.