Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Vonage Communications APIs

Visit the Vonage API Developer Portal

OpenTok.IVideoRenderer

Defines a video renderer to be used by a Publisher or Subscriber object. More...

Public Member Functions

void RenderFrame (VideoFrame frame)
 Called when a frame for the video stream is available to be rendered. More...

Detailed Description

Defines a video renderer to be used by a Publisher or Subscriber object.

See also
Publisher.VideoRenderer, Subscriber.VideoRenderer

Member Function Documentation

◆ RenderFrame()

void OpenTok.IVideoRenderer.RenderFrame ( VideoFrame  frame)

Called when a frame for the video stream is available to be rendered.

At the end of the implementation of this method, be sure to call the VideoFrame.Dispose() method of the frame object to prevent memory leaks.

Parameters
frameThe video frame.