TVISampleBufferVideoViewDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TVISampleBufferVideoView.h |
Overview
TVISampleBufferVideoViewDelegate
allows you to respond to, and customize the behavior of TVISampleBufferVideoView
.
– videoViewDidReceiveData:
This method is called once, and only once after the first frame is received. Use it to drive user interface animations. @note: Querying hasVideoData will return ‘YES’ within, and after this call.
- (void)videoViewDidReceiveData:(nonnull TVISampleBufferVideoView *)view
Parameters
view |
The video view which became ready. |
---|
Declared In
TVISampleBufferVideoView.h
– videoView:videoDimensionsDidChange:
This method is called every time the video track’s dimensions change.
- (void)videoView:(nonnull TVISampleBufferVideoView *)view videoDimensionsDidChange:(CMVideoDimensions)dimensions
Parameters
view |
The video view. |
---|---|
dimensions |
The new dimensions of the video stream. |
Declared In
TVISampleBufferVideoView.h