WOWZVideoSink
IntroductionWOWZVideoSink defines a protocol for callbacks that occur when video frames are captured. Methods
videoCaptureInterruptionEnded@optional DiscussionCalled at the end of an interruption to an active video-capture session, which typically occurs when the application returns to the foreground after being in the background. iOS doesn't allow the camera to capture frames when the application is in the background, so when the application transitions out of the foreground, broadcasting is suspended. The SDK will attempt to restart the broadcast when the interruption ends (when the application returns to the foreground), unless the client application has stopped the broadcast. Client applications should implement Apple's applicationWillResignActive and/or applicationDidEnterBackground methods in the UIApplicationDelegate protocol and stop the broadcast accordingly. videoCaptureInterruptionStarted@optional DiscussionCalled at the beginning of an interruption to an active video-capture session, which typically occurs when the application exits the foreground. iOS doesn't allow the camera to capture frames when the application is in the background, so when the application transitions out of the foreground, broadcasting is suspended. The SDK will attempt to restart the broadcast when the interruption ends (when the application returns to the foreground), unless the client application has stopped the broadcast. Client applications should implement Apple's applicationWillResignActive and/or applicationDidEnterBackground methods in the UIApplicationDelegate protocol and stop the broadcast accordingly. videoCaptureUsingQueue:@optional DiscussionCalled when the capture device internally sets the video-capture queue. Clients can synchronize operations on this queue if it's non-null. videoFrameWasCaptured:framePresentationTime:frameDuration:@required Parameters
DiscussionCalled for each frame of unencoded video. |