Structure containing the options used to stream with the ZED SDK. More...
Functions | |
| StreamingParameters (STREAMING_CODEC codec=STREAMING_CODEC.H264_BASED, ushort port=3000, uint bitrate=8000, int gopSize=-1, bool adaptativeBitrate=false, ushort chunkSize=32789, int targetFPS=0) | |
| Default constructor. More... | |
Attributes | |
| STREAMING_CODEC | codec |
| Encoding used for streaming. More... | |
| ushort | port |
| Port used for streaming. More... | |
| uint | bitrate |
| Defines the streaming bitrate in Kbits/s. More... | |
| int | gopSize |
| GOP size in number of frames. More... | |
| bool | adaptativeBitrate |
| Defines whether the adaptive bitrate is enable. More... | |
| ushort | chunkSize |
| Size of a single chunk. More... | |
| int | targetFPS |
| Framerate for the streaming output. More... | |
Structure containing the options used to stream with the ZED SDK.
|
inline |
Default constructor.
All the parameters are set to their default values.
| STREAMING_CODEC codec |
Encoding used for streaming.
Referenced by StreamingParameters.StreamingParameters().
| ushort port |
Port used for streaming.
Referenced by StreamingParameters.StreamingParameters().
| uint bitrate |
Defines the streaming bitrate in Kbits/s.
| sl.STREAMING_CODEC | sl.RESOLUTION | FPS | Bitrate (kbps) |
|---|---|---|---|
| H264 | HD2K | 15 | 8500 |
| H264 | HD1080 | 30 | 12500 |
| H264 | HD720 | 60 | 7000 |
| H265 | HD2K | 15 | 7000 |
| H265 | HD1080 | 30 | 11000 |
| H265 | HD720 | 60 | 6000 |
Default: 0 (it will be set to the best value depending on your resolution/FPS)
Referenced by StreamingParameters.StreamingParameters().
| int gopSize |
GOP size in number of frames.
Default: -1 (the GOP size will last at maximum 2 seconds, depending on camera FPS)
Referenced by StreamingParameters.StreamingParameters().
| bool adaptativeBitrate |
Defines whether the adaptive bitrate is enable.
Default: false
Referenced by StreamingParameters.StreamingParameters().
| ushort chunkSize |
Size of a single chunk.
Default: 16084
Referenced by StreamingParameters.StreamingParameters().
| int targetFPS |
Framerate for the streaming output.
Default: 0 (camera framerate will be taken)
Referenced by StreamingParameters.StreamingParameters().