Class AgoraUserTokenParams
Defined in File ExternalServiceProxySystem.h
Class Documentation
-
class AgoraUserTokenParams
Specialised data structure that can be used to retrieve an Agora user token via the proxy service.
Public Members
-
csp::common::String ChannelName
The unique name for the Agora channel being joined.
It can be set to any string combination. For group calls all users must reference the same channelName.
-
csp::common::String ReferenceId
The unique identfier for the space being joined.
Only needs to be set if the channelName is not set to the space ID, so the appropriate permissions can be requested. It can be set to an empty string if not required.
-
int Lifespan
The amount of time the token is valid for in milliseconds.
-
bool ReadOnly
If the token is ready only.
If the token is configured for sharing of audio.
If the token is configured for sharing of video.
If the token is configured for sharing of the user’s screen.
-
csp::common::String ChannelName