Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::RtcConnection Struct Reference

`#include <IAgoraRtcEngineEx.h>`

## Public Member Functions
| RtcConnection ()
| RtcConnection (const char *channel_id, uid_t local_uid)

## Public Attributes
const char * | channelId
uid_t | localUid

## Detailed Description

Rtc Connection.

## Constructor & Destructor Documentation

## ◆ RtcConnection() [1/2]

agora::rtc::RtcConnection::RtcConnection | ( |  | ) |
| inline

## ◆ RtcConnection() [2/2]

agora::rtc::RtcConnection::RtcConnection | ( | const char * | channel_id,
|  | uid_t | local_uid )
| inline

## Member Data Documentation

## ◆ channelId

const char* agora::rtc::RtcConnection::channelId

The unique channel name for the AgoraRTC session in the string format. The string length must be less than 64 bytes. Supported character scopes are:

- All lowercase English letters: a to z.
- All uppercase English letters: A to Z.
- All numeric characters: 0 to 9.
- The space character.
- Punctuation characters and other symbols, including: "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", " {", "}", "|", "~", ",".

## ◆ localUid

uid_t agora::rtc::RtcConnection::localUid

User ID: A 32-bit unsigned integer ranging from 1 to (2^32-1). It must be unique.