zdk.net
|
Video endpoint's main entry point. More...
#include <VideoEndpointControl.h>
Public Member Functions | |
VideoEndpointControl (ZDK::Shared::VideoEndpointControl src) | |
ZDK_NET::Result ^ | SetFormat (int width, int height, float fps) |
Configures the used video format. More... | |
ZDK_NET::Result ^ | SetBitrate (int value) |
Configures the video encoder's bitrate. More... | |
ZDK_NET::Result ^ | StartCapture (bool hwdAcceleration) |
Starts the video capture. More... | |
ZDK_NET::Result ^ | StopCapture () |
Stops the video capture. More... | |
ZDK_NET::Result ^ | ToggleCamera () |
Toggles the camera. More... | |
ZDK_NET::Result ^ | RestartCamera () |
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 |
Video endpoint's main entry point.
Entry point for controlling the video endpoint
ZDK_NET::CameraSensorLocation ZDK_NET::VideoEndpointControl::GetCameraLocation | ( | ) |
Gets the used camera location.
Not implemented!
ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::RestartCamera | ( | ) |
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.
[in] | value | The bitrate of the encoder in bits per second |
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.
[in] | width | Width of the video frame in pixels |
[in] | height | Height of the video frame in pixels |
[in] | fps | Frames per second of the video stream |
ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::StartCapture | ( | bool | hwdAcceleration | ) |
ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::StopCapture | ( | ) |
ZDK_NET::Result ^ ZDK_NET::VideoEndpointControl::ToggleCamera | ( | ) |