OTSubscriber Class Reference

Inherits from OTSubscriberKit : NSObject
Declared in OTSubscriber.h

Overview

Renders OpenTok streams, and provides a UIView that renders video and provides some simple end-user controls.

  view

The view containing a playback buffer for associated video data. Add this view to your view heirarchy to display a video stream.

@property (readonly) UIView *view

Declared In

OTSubscriber.h

  viewScaleBehavior

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).

@property (nonatomic) OTVideoViewScaleBehavior viewScaleBehavior

Declared In

OTSubscriber.h