Agora RTC Objective-C API Reference  Refactor
Data Fields
InjectStreamConfig Struct Reference

Data Fields

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

Detailed Description

The definition of InjectStreamConfig.

Constructor & Destructor Documentation

◆ InjectStreamConfig()

InjectStreamConfig ( )
inline

Field Documentation

◆ width

int width

Width of the stream to be added into the broadcast. The default value is 0; same width as the original stream.

◆ height

int height

Height of the stream to be added into the broadcast. The default value is 0; same height as the original stream.

◆ videoGop

int videoGop

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

◆ videoFramerate

int videoFramerate

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

◆ videoBitrate

int videoBitrate

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

◆ audioSampleRate

AUDIO_SAMPLE_RATE_TYPE audioSampleRate

Audio-sampling rate of the stream to be added into the broadcast: AUDIO_SAMPLE_RATE_TYPE. The default value is 48000.

◆ audioBitrate

int audioBitrate

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

◆ audioChannels

int audioChannels

Audio channels to be added into the broadcast. The default value is 1.