11: The token of the destination channel has expired.
5: Fails to accept the relay request.
4: Fails to send the relay request.
6: The server fails to receive the media stream.
7: The server fails to send the media stream.
9: An internal error occurs in the server.
3: The SDK fails to access the service, probably due to limited resources of the server.
8: The SDK disconnects from the server due to poor network connections. You can call the \ref agora::rtc::IRtcEngine::leaveChannel "leaveChannel" method to leave the channel.
1: An error occurs in the server response.
2: No server response.
You can call the \ref agora::rtc::IRtcEngine::leaveChannel "leaveChannel" method to leave the channel.
This error can also occur if your project has not enabled co-host token authentication. Contact support@agora.io to enable the co-host token authentication service before starting a channel media relay.
10: The token of the source channel has expired.
0: The state is normal.
The error code.