Classes | |
enum | AudioSampleRateType |
Public Attributes | |
int | width |
int | height |
int | videoGop |
int | videoFramerate |
int | videoBitrate |
AudioSampleRateType | audioSampleRate |
int | audioBitrate |
int | audioChannels |
Configuration of the imported live streaming voice or video stream.
int io.agora.rtc.live.LiveInjectStreamConfig.width |
Width of the added stream to the live streaming. The default value is 0, which is the same width as the original stream.
int io.agora.rtc.live.LiveInjectStreamConfig.height |
Height of the added stream to the live streaming. The default value is 0, which is the same height as the original stream.
int io.agora.rtc.live.LiveInjectStreamConfig.videoGop |
Video GOP of the added stream to the live streaming. The default value is 30 frames.
int io.agora.rtc.live.LiveInjectStreamConfig.videoFramerate |
Video frame rate of the added stream to the live streaming. The default value is 15 fps.
int io.agora.rtc.live.LiveInjectStreamConfig.videoBitrate |
Video bitrate of the added stream to the live streaming. The default value is 400 Kbps.
AudioSampleRateType io.agora.rtc.live.LiveInjectStreamConfig.audioSampleRate |
Audio sample rate of the added stream to the live streaming: AudioSampleRateType. The default value is 44100 Hz.
int io.agora.rtc.live.LiveInjectStreamConfig.audioBitrate |
Audio bitrate of the added stream to the live streaming. The default value is 48.
int io.agora.rtc.live.LiveInjectStreamConfig.audioChannels |
Audio channels to add into the live streaming. The value ranges between 1 and 2. The default value is 1.