◆ getConfiguredLiveStreamReader()
Returns configured stream reader, providing live data stream. Required method!
BaseCameraManager::nativeMediaStreamCapability should be present.
- Parameters
-
- Returns
- nxcip::NX_NO_ERROR on success, otherwise - error code
- Note
- It's possible to return both NULL as a reader and nxcip::NX_NO_ERROR as error code.
-
Using with this call setResolution(), setFps() and setBitrate() may return nxcip::NX_NOT_IMPLEMENTED
◆ getVideoFormat()
virtual int nxcip::CameraMediaEncoder3::getVideoFormat |
( |
CompressionType * |
codec, |
|
|
PixelFormat * |
pixelFormat |
|
) |
| const |
|
pure virtual |
Returns video format. Optional method.
- Parameters
-
[out] | codec | |
[out] | pixelFormat | NOTE: Uncompressed video from a camera is not supported by the Server, thus the values AV_PIX_FMT_RGB24, AV_PIX_FMT_BGRA and AV_PIX_FMT_RGBA cannot be used. |
- Returns
- nxcip::NX_NO_ERROR on success, otherwise - error code
- See also
- nxcip::CompressionType
-
nxcip::PixelFormat
The documentation for this class was generated from the following file: