Suggestions

close search

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

Visit the Vonage API Developer Portal

OpenTok.IVideoCapturer

Inherited by OpenTok.VideoCapturer.

Public Member Functions

void Init (IVideoFrameConsumer frameConsumer)
 Initializes the VideoCapturer with a video frame consumer. 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...
void Start ()
 Called when the Publisher starts publishing video. Call the IVideoFrameConsumer.Consume(VideoFrame) method whenever a new frame is available. More...
void Stop ()
 Called when the Publisher stops publishing video. More...
void Destroy ()
 Called when the Publisher object using this VideoFrameConsumer is destroyed. More...
VideoCaptureSettings GetCaptureSettings ()
 The Vonage Video API Windows SDK calls this method to get the video settings for the video capturer. In your implementation of this method, create a new settings object to define the video settings to be used. More...

Member Function Documentation

◆ Destroy()

void OpenTok.IVideoCapturer.Destroy ( )

Called when the Publisher object using this VideoFrameConsumer is destroyed.

Implemented in OpenTok.VideoCapturer.

◆ GetCaptureSettings()

VideoCaptureSettings OpenTok.IVideoCapturer.GetCaptureSettings ( )

The Vonage Video API Windows SDK calls this method to get the video settings for the video capturer. In your implementation of this method, create a new settings object to define the video settings to be used.

Implemented in OpenTok.VideoCapturer.

◆ GetVideoContentHint()

VideoContentHint OpenTok.IVideoCapturer.GetVideoContentHint ( )

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

Implemented in OpenTok.VideoCapturer.

◆ Init()

void OpenTok.IVideoCapturer.Init ( IVideoFrameConsumer  frameConsumer)

Initializes the VideoCapturer with a video frame consumer.

Parameters
frameConsumerThe instance of the IVideoFrameConsumer to use.

Implemented in OpenTok.VideoCapturer.

◆ SetVideoContentHint()

void OpenTok.IVideoCapturer.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

Implemented in OpenTok.VideoCapturer.

◆ Start()

void OpenTok.IVideoCapturer.Start ( )

Called when the Publisher starts publishing video. Call the IVideoFrameConsumer.Consume(VideoFrame) method whenever a new frame is available.

Implemented in OpenTok.VideoCapturer.

◆ Stop()

void OpenTok.IVideoCapturer.Stop ( )

Called when the Publisher stops publishing video.

Implemented in OpenTok.VideoCapturer.