public class VideoEndpointControl
extends java.lang.Object
Constructor and Description |
---|
VideoEndpointControl(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
Ensures the underlying native object destruction
|
CameraSensorLocation |
getCameraLocation()
Gets the used camera location
Not implemented!
|
long |
handle()
Gets the pointer/address to the underlying native object
|
Result |
restartCamera()
Restarts the camera
Not implemented!
|
Result |
setBitrate(int value)
Configures the video encoder's bitrate
Configures the video encoder's output bitrate in bits per second.
|
Result |
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.
|
Result |
startCapture(boolean hwdAcceleration)
Starts the video capture
Not implemented!
|
Result |
stopCapture()
Stops the video capture
Not implemented!
|
Result |
toggleCamera()
Toggles the camera
Not implemented!
|
public VideoEndpointControl(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public Result setFormat(int width, int height, float fps)
width
- Width of the video frame in pixelsheight
- Height of the video frame in pixelsfps
- Frames per second of the video streamsetBitrate onVideoFormatSelected
public Result setBitrate(int value)
value
- The bitrate of the encoder in bits per secondsetFormat
public Result startCapture(boolean hwdAcceleration)
hwdAcceleration
- Indicator whether the hardware accelerator to be used if availableResult
public Result stopCapture()
Result
public Result toggleCamera()
Result
public Result restartCamera()
Result
public CameraSensorLocation getCameraLocation()
CameraSensorLocation