Classes

enum  AudioSampleRateType
 

Public Attributes

int width
 
int height
 
int videoGop
 
int videoFramerate
 
int videoBitrate
 
AudioSampleRateType audioSampleRate
 
int audioBitrate
 
int audioChannels
 

Detailed Description

Configuration of the imported live broadcast voice or video stream.

Member Data Documentation

◆ width

int io.agora.rtc.live.LiveInjectStreamConfig.width

Width of the added stream to the broadcast. The default value is 0, which is the same width as the original stream.

◆ height

int io.agora.rtc.live.LiveInjectStreamConfig.height

Height of the added stream to the broadcast. The default value is 0, which is the same height as the original stream.

◆ videoGop

int io.agora.rtc.live.LiveInjectStreamConfig.videoGop

Video GOP of the added stream to the broadcast. The default value is 30 frames.

◆ videoFramerate

int io.agora.rtc.live.LiveInjectStreamConfig.videoFramerate

Video frame rate of the added stream to the broadcast. The default value is 15 fps.

◆ videoBitrate

int io.agora.rtc.live.LiveInjectStreamConfig.videoBitrate

Video bitrate of the added stream to the broadcast. The default value is 400 Kbps.

Note
The setting of the video bitrate is closely linked to the resolution. If you set the video bitrate beyond a reasonable range, the SDK sets it within a reasonable range instead.

◆ audioSampleRate

AudioSampleRateType io.agora.rtc.live.LiveInjectStreamConfig.audioSampleRate

Audio sampling rate of the added stream to the broadcast: AudioSampleRateType. The default value is 44100.

Note
Agora recommends that you stay with the default value and not reset it at this point of time.

◆ audioBitrate

int io.agora.rtc.live.LiveInjectStreamConfig.audioBitrate

Audio bitrate of the added stream to the broadcast. The default value is 48.

Note
Agora recommends you use the default value and not reset it.

◆ audioChannels

int io.agora.rtc.live.LiveInjectStreamConfig.audioChannels

Audio channels to add into the broadcast. The value ranges between 1 and 2. The default value is 1.

Note
Agora recommends you use the default value and not reset it.