TVIVideoTrackDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TVIVideoTrack.h |
Overview
TVIVideoTrackDelegate
allows you to respond to changes in TVIVideoTrack
.
This delegate is useful when paired with the attach:
APIs.
– videoTrack:dimensionsDidChange:
Fired every time the track’s dimensions change.
- (void)videoTrack:(nonnull TVIVideoTrack *)track dimensionsDidChange:(CMVideoDimensions)dimensions
Parameters
track |
The track which was updated. |
---|---|
dimensions |
The new dimensions of the video track. |
Discussion
If you have attached views, and wish to resize your containers now would be a good time.
Declared In
TVIVideoTrack.h