Agora C++ API Reference for All Platforms
Public Member Functions | Public Attributes | List of all members
agora::rtc::ChannelMediaInfo Struct Reference

Public Member Functions

 ChannelMediaInfo ()
 
 ChannelMediaInfo (const char *c, const char *t, uid_t u)
 

Public Attributes

uid_t uid
 
const char * channelName
 
const char * token
 

Detailed Description

The definition of ChannelMediaInfo.

Constructor & Destructor Documentation

◆ ChannelMediaInfo() [1/2]

agora::rtc::ChannelMediaInfo::ChannelMediaInfo ( )
inline

◆ ChannelMediaInfo() [2/2]

agora::rtc::ChannelMediaInfo::ChannelMediaInfo ( const char *  c,
const char *  t,
uid_t  u 
)
inline

Member Data Documentation

◆ uid

uid_t agora::rtc::ChannelMediaInfo::uid

The user ID.

◆ channelName

const char* agora::rtc::ChannelMediaInfo::channelName

The channel name. The default value is NULL, which means that the SDK applies the current channel name.

◆ token

const char* agora::rtc::ChannelMediaInfo::token

The token that enables the user to join the channel. The default value is NULL, which means that the SDK applies the current token.