Public Member Functions | |
InjectStreamConfig () | |
Public Attributes | |
int | width |
int | height |
int | videoGop |
int | videoFramerate |
int | videoBitrate |
AUDIO_SAMPLE_RATE_TYPE | audioSampleRate |
int | audioBitrate |
int | audioChannels |
Configuration of the imported live broadcast voice or video stream.
|
inline |
int agora::rtc::InjectStreamConfig::width |
Width of the added stream in the live broadcast. The default value is 0 (same width as the original stream).
int agora::rtc::InjectStreamConfig::height |
Height of the added stream in the live broadcast. The default value is 0 (same height as the original stream).
int agora::rtc::InjectStreamConfig::videoGop |
Video GOP of the added stream in the live broadcast in frames. The default value is 30 fps.
int agora::rtc::InjectStreamConfig::videoFramerate |
Video frame rate of the added stream in the live broadcast. The default value is 15 fps.
int agora::rtc::InjectStreamConfig::videoBitrate |
Video bitrate of the added stream in the live broadcast. The default value is 400 Kbps.
AUDIO_SAMPLE_RATE_TYPE agora::rtc::InjectStreamConfig::audioSampleRate |
Audio-sample rate of the added stream in the live broadcast: AUDIO_SAMPLE_RATE_TYPE. The default value is 48000 Hz.
int agora::rtc::InjectStreamConfig::audioBitrate |
Audio bitrate of the added stream in the live broadcast. The default value is 48.
int agora::rtc::InjectStreamConfig::audioChannels |
Audio channels in the live broadcast.