Sets the streaming parameters. More...
General Functions | |
StreamingParameters (STREAMING_CODEC codec_=STREAMING_CODEC_HEVC, unsigned short port_=30000, unsigned int bitrate_=8000, int gop_size_=-1, bool adaptative_bitrate_=false) | |
Default constructor. Set all parameters to their default values. More... | |
Attributes | |
STREAMING_CODEC | codec = STREAMING_CODEC_HEVC |
Defines the codec used for streaming. More... | |
unsigned short | port = 30000 |
Defines the port used for streaming. More... | |
unsigned int | bitrate = 8000 |
Defines the streaming bitrate in Kbits/s. More... | |
int | gop_size = -1 |
Defines the gop size in number of frames. More... | |
bool | adaptative_bitrate = false |
Enable/Disable adaptive bitrate. More... | |
Sets the streaming parameters.
The default constructor sets all parameters to their default settings.
StreamingParameters | ( | STREAMING_CODEC | codec_ = STREAMING_CODEC_HEVC , |
unsigned short | port_ = 30000 , |
||
unsigned int | bitrate_ = 8000 , |
||
int | gop_size_ = -1 , |
||
bool | adaptative_bitrate_ = false |
||
) |
Default constructor. Set all parameters to their default values.
STREAMING_CODEC codec = STREAMING_CODEC_HEVC |
Defines the codec used for streaming.
unsigned short port = 30000 |
Defines the port used for streaming.
unsigned int bitrate = 8000 |
Defines the streaming bitrate in Kbits/s.
int gop_size = -1 |
Defines the gop size in number of frames.
bool adaptative_bitrate = false |
Enable/Disable adaptive bitrate.