Public Attributes

int width
 
int height
 
int framerate
 
int bitrate
 
int defaultLayout
 
int lifecycle
 
bool owner
 
int injectStreamWidth
 
int injectStreamHeight
 
string injectStreamUrl
 
string publishUrl
 
string rawStreamUrl
 
string extraInfo
 

Detailed Description

Deprecated:
This struct is deprecated.

Member Data Documentation

◆ width

int agora_gaming_rtc.PublisherConfiguration.width

Width of the CDN live output video stream. The default value is 360.

◆ height

int agora_gaming_rtc.PublisherConfiguration.height

Height of the CDN live output video stream. The default value is 640.

◆ framerate

int agora_gaming_rtc.PublisherConfiguration.framerate

Frame rate of the CDN live output video stream. The default value is 15 fps.

◆ bitrate

int agora_gaming_rtc.PublisherConfiguration.bitrate

Bitrate of the CDN live output video stream. The default value is 500 Kbps.

◆ defaultLayout

int agora_gaming_rtc.PublisherConfiguration.defaultLayout

Default layout:

  • 0: Tile horizontally
  • 1: Layered windows
  • 2: Tile vertically

◆ lifecycle

int agora_gaming_rtc.PublisherConfiguration.lifecycle

Video stream lifecycle of CDN live.

◆ owner

bool agora_gaming_rtc.PublisherConfiguration.owner

Whether or not the current user is the owner of the RTMP stream:

  • true: (Default) Yes. The push-stream configuration takes effect.
  • false: No. The push-stream configuration does not work.

◆ injectStreamWidth

int agora_gaming_rtc.PublisherConfiguration.injectStreamWidth

Width of the injected stream. N/A. Set it as 0.

◆ injectStreamHeight

int agora_gaming_rtc.PublisherConfiguration.injectStreamHeight

Height of the injected stream. N/A. Set it as 0.

◆ injectStreamUrl

string agora_gaming_rtc.PublisherConfiguration.injectStreamUrl

URL address of the injected stream in the channel. N/A.

◆ publishUrl

string agora_gaming_rtc.PublisherConfiguration.publishUrl

Push-stream URL address for the picture-in-picture layout. The default value is NULL.

◆ rawStreamUrl

string agora_gaming_rtc.PublisherConfiguration.rawStreamUrl

The push-stream URL address of the original stream that does not require picture-blending. The default value is NULL.

◆ extraInfo

string agora_gaming_rtc.PublisherConfiguration.extraInfo

Reserved field. The default value is NULL.