WZVideoSink
IntroductionWZVideoSink defines a protocol for callbacks that occur when video frames are captured Methods
videoCaptureInterruptionEnded@optional DiscussionCalled when an interruption in the active video capture session ends. On iOS, this typically happens when the application exits and then re-enters the foreground. When video capture is interrupted, broadcasting is suspended; the SDK will attempt to re-start the broadcast when interruption ends, unless the client application has stopped the broadcast. Client applications should implement the 'applicationWillResignActive' and/or 'applicationDidEnterBackground' UIApplicationDelegate methods and stop the broadcast accordingly. iOS does not allow the camera to continue capturing frames when the application is in the background. videoCaptureInterruptionStarted@optional DiscussionCalled when an interruption in the active video capture session begins. On iOS, this typically happens when the application exits the foreground. When video capture is interrupted, broadcasting is suspended; the SDK will attempt to re-start the broadcast when interruption ends, unless the client application has stopped the broadcast. Client applications should implement the 'applicationWillResignActive' and/or 'applicationDidEnterBackground' UIApplicationDelegate methods and stop the broadcast accordingly. iOS does not allow the camera to continue capturing frames when the application is in the background. videoCaptureUsingQueue:@optional DiscussionCalled when the video capture queue is set internally by the capture device. Clients that wish to synchronize operations on this queue may make use of this queue if non-null. videoFrameWasCaptured:framePresentationTime:frameDuration:@required Parameters
DiscussionCalled for each frame of unencoded video produced by a video producer. |