zdk.net
Public Member Functions | Public Attributes | List of all members
ZDK_NET::VideoEndpointControl Class Reference

Video endpoint's main entry point. More...

#include <VideoEndpointControl.h>

Inheritance diagram for ZDK_NET::VideoEndpointControl:
ZDK_NET::ZHandle

Public Member Functions

 VideoEndpointControl (ZDK::Shared::VideoEndpointControl src)
 
ZDK_NET::ResultSetFormat (int width, int height, float fps)
 Configures the used video format. More...
 
ZDK_NET::ResultSetBitrate (int value)
 Configures the video encoder's bitrate. More...
 
ZDK_NET::ResultStartCapture (bool hwdAcceleration)
 Starts the video capture. More...
 
ZDK_NET::ResultStopCapture ()
 Stops the video capture. More...
 
ZDK_NET::ResultToggleCamera ()
 Toggles the camera. More...
 
ZDK_NET::ResultRestartCamera ()
 Restarts the camera. More...
 
ZDK_NET::CameraSensorLocation GetCameraLocation ()
 Gets the used camera location. More...
 
virtual long long Handle () override
 
virtual void Initialize () override
 
virtual void ReleaseReference () override
 

Public Attributes

ZDK::IVideoEndpointControl * cppRef = nullptr
 

Detailed Description

Video endpoint's main entry point.

Entry point for controlling the video endpoint

Member Function Documentation

◆ GetCameraLocation()

ZDK_NET::CameraSensorLocation ZDK_NET::VideoEndpointControl::GetCameraLocation ( )

Gets the used camera location.

Not implemented!

Returns
The camera location
See also
CameraSensorLocation

◆ RestartCamera()

ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::RestartCamera ( )

Restarts the camera.

Not implemented!

Returns
Result of the invocation
See also
Result

◆ SetBitrate()

ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::SetBitrate ( int  value)

Configures the video encoder's bitrate.

Configures the video encoder's output bitrate in bits per second. This function along with SetFormat() will affect all video calls. Because the frames come outside of this library if the frame rate is not as configured the resulting bit rate can differ greatly. Example: if the library's video encoder is configured for 128000 bps for a video format of 352x288 and 5 fps, but the frames actually come at 10fps the resulting bitrate will be 256000 bps.

Parameters
[in]valueThe bitrate of the encoder in bits per second
Returns
Result of the invocation
See also
Result, SetFormat()

◆ SetFormat()

ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::SetFormat ( int  width,
int  height,
float  fps 
)

Configures the used video format.

Configures the format used for negotiating video calls and actual camera capture/sending.

Most codecs have limitations regarding the frame dimensions. CIF formats are always supported.

When the format is negotiated with remote peer, the CallEventsHandler.OnVideoFormatSelected() callback will be called.

Parameters
[in]widthWidth of the video frame in pixels
[in]heightHeight of the video frame in pixels
[in]fpsFrames per second of the video stream
Returns
Result of the invocation
See also
Result, SetBitrate(), OnVideoFormatSelected()

◆ StartCapture()

ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::StartCapture ( bool  hwdAcceleration)

Starts the video capture.

Not implemented!

Parameters
[in]hwdAccelerationIndicator whether the hardware accelerator to be used if available
Returns
Result of the invocation
See also
Result

◆ StopCapture()

ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::StopCapture ( )

Stops the video capture.

Not implemented!

Returns
Result of the invocation
See also
Result

◆ ToggleCamera()

ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::ToggleCamera ( )

Toggles the camera.

Not implemented!

Returns
Result of the invocation
See also
Result

The documentation for this class was generated from the following file: