TVIVideoViewDelegate Protocol Reference

Conforms to NSObject
Declared in TVIVideoView.h

Overview

TVIVideoViewDelegate allows you to respond to, and customize the behavior of TVIVideoView.

– 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 TVIVideoView *)view

Parameters

view

The video view which became ready.

Declared In

TVIVideoView.h

– videoView:videoDimensionsDidChange:

This method is called every time the video track’s dimensions change.

- (void)videoView:(nonnull TVIVideoView *)view videoDimensionsDidChange:(CMVideoDimensions)dimensions

Parameters

view

The video view.

dimensions

The new dimensions of the video stream.

Declared In

TVIVideoView.h

– videoView:videoOrientationDidChange:

This method is called every time the video track’s orientation changes.

- (void)videoView:(nonnull TVIVideoView *)view videoOrientationDidChange:(TVIVideoOrientation)orientation

Parameters

view

The video view.

orientation

The new orientation of the video stream.

Declared In

TVIVideoView.h