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

◆ audioBitrate

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

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

Note
We recommend 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
We recommend you use the default value and not reset it.

◆ audioSampleRate

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

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

Note
We recommend you use the default value and not reset it.

◆ 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.

◆ 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.

◆ videoFramerate

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

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

◆ videoGop

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

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

◆ 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.