OTVideoRender
Defines a video renderer to be used by an OTPublisherKit object or an OTSubscriberKit object. See the videoRender properties of OTPublisherKit object and OTSubscriberKit.
Methods
| Name | Description |
|---|---|
renderVideoFrame:(frame) |
Renders a frame to the video renderer. |
renderVideoFrame:(frame)
Renders a frame to the video renderer. Do not call any OpenTok API methods (except those in the OTVideoFrame class) on the same thread that invokes this callback. If you need to call an OpenTok API method (for example, OTPublisherKit or OTSubscriberKit methods), reschedule its execution to a different thread.
Parameters:
| Name | Type | Description |
|---|---|---|
frame |
OTVideoFrame * | The frame to render. |