Agora Java API Reference for Android
|
#include <IAgoraRtcEngine.h>
Public Attributes | |
int | width |
int | height |
int | framerate |
int | bitrate |
int | defaultLayout |
int | lifecycle |
bool | owner |
int | injectStreamWidth |
int | injectStreamHeight |
const char * | injectStreamUrl |
const char * | publishUrl |
const char * | rawStreamUrl |
const char * | extraInfo |
The definition of PublisherConfiguration.
int agora::rtc::PublisherConfiguration::width |
Width of the output data stream set for CDN Live. The default value is 360.
int agora::rtc::PublisherConfiguration::height |
Height of the output data stream set for CDN Live. The default value is 640.
int agora::rtc::PublisherConfiguration::framerate |
Frame rate of the output data stream set for CDN Live. The default value is 15 fps.
int agora::rtc::PublisherConfiguration::bitrate |
Bitrate of the output data stream set for CDN Live. The default value is 500 Kbps.
int agora::rtc::PublisherConfiguration::defaultLayout |
The default layout:
int agora::rtc::PublisherConfiguration::lifecycle |
The video stream lifecycle of CDN Live: RTMP_STREAM_LIFE_CYCLE_TYPE
bool agora::rtc::PublisherConfiguration::owner |
Whether the current user is the owner of the RTMP stream:
int agora::rtc::PublisherConfiguration::injectStreamWidth |
Width of the stream to be injected. Set it as 0.
int agora::rtc::PublisherConfiguration::injectStreamHeight |
Height of the stream to be injected. Set it as 0.
const char* agora::rtc::PublisherConfiguration::injectStreamUrl |
URL address of the stream to be injected to the channel.
const char* agora::rtc::PublisherConfiguration::publishUrl |
Push-stream URL address for the picture-in-picture layouts. The default value is NULL.
const char* agora::rtc::PublisherConfiguration::rawStreamUrl |
Push-stream URL address of the original stream which does not require picture-blending. The default value is NULL.
const char* agora::rtc::PublisherConfiguration::extraInfo |
Reserved field. The default value is NULL.