OTSubscriber
Renders OpenTok streams, and provides a UIView that renders video and provides some simple end-user controls.
Properties
| Name | Type | Description |
|---|---|---|
view |
UIView * | The view containing a playback buffer for associated video data. Add this view to your view heirarchy to display a video stream. |
viewScaleBehavior |
OTVideoViewScaleBehavior | The scaling of the rendered video, as defined by the OTVideoViewScaleBehavior enum. The default value is OTVideoViewScaleBehaviorFill. Set it to OTVideoViewScaleBehaviorFit to have the video shrink, as needed, so that the entire video is visible (with pillarboxing). |