|
Voice SDK v3.7.1 API Reference for All Platforms (C++)
|
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 injected media stream.
|
inline |
| int agora::rtc::InjectStreamConfig::width |
Width of the injected stream in the interactive live streaming. The default value is 0 (same width as the original stream).
| int agora::rtc::InjectStreamConfig::height |
Height of the injected stream in the interactive live streaming. The default value is 0 (same height as the original stream).
| int agora::rtc::InjectStreamConfig::videoGop |
Video GOP (in frames) of the injected stream in the interactive live streaming. The default value is 30 fps.
| int agora::rtc::InjectStreamConfig::videoFramerate |
Video frame rate of the injected stream in the interactive live streaming. The default value is 15 fps.
| int agora::rtc::InjectStreamConfig::videoBitrate |
Video bitrate of the injected stream in the interactive live streaming. The default value is 400 Kbps.
| AUDIO_SAMPLE_RATE_TYPE agora::rtc::InjectStreamConfig::audioSampleRate |
Audio-sample rate of the injected stream in the interactive live streaming: AUDIO_SAMPLE_RATE_TYPE. The default value is 48000 Hz.
| int agora::rtc::InjectStreamConfig::audioBitrate |
Audio bitrate of the injected stream in the interactive live streaming. The default value is 48.
| int agora::rtc::InjectStreamConfig::audioChannels |
Audio channels in the interactive live streaming.