Suggestions

close search

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

Visit the Vonage API Developer Portal

OpenTok.IVideoFrameConsumer

Defines a video frame consumer to be used by the VideoCapturer of a Publisher. More...

Public Member Functions

void Consume (VideoFrame frame)
 Called whenever a frame is made available to the video frame consumer. More...
void Consume (VideoFrame frame, int orientation)
 Called whenever a frame is made available to the video frame consumer. Use this method to add orientation information to the frame. More...
void SetVideoContentHint (VideoContentHint contentHint)
 This method will set the video content hint to one of the enum values given in VideoContentHint. By default it will be set to NONE More...
VideoContentHint GetVideoContentHint ()
 This method will return the current value of video content hint. More...

Detailed Description

Defines a video frame consumer to be used by the VideoCapturer of a Publisher.

See also
VideoCapturer

Member Function Documentation

◆ Consume() [1/2]

void OpenTok.IVideoFrameConsumer.Consume ( VideoFrame  frame)

Called whenever a frame is made available to the video frame consumer.

◆ Consume() [2/2]

void OpenTok.IVideoFrameConsumer.Consume ( VideoFrame  frame,
int  orientation 
)

Called whenever a frame is made available to the video frame consumer. Use this method to add orientation information to the frame.

◆ GetVideoContentHint()

VideoContentHint OpenTok.IVideoFrameConsumer.GetVideoContentHint ( )

This method will return the current value of video content hint.

◆ SetVideoContentHint()

void OpenTok.IVideoFrameConsumer.SetVideoContentHint ( VideoContentHint  contentHint)

This method will set the video content hint to one of the enum values given in VideoContentHint. By default it will be set to NONE