Hi @Alexandre Gurgel we are sorry you are facing this error. which ACS SDK are you using?
Here is how to troubleshoot the first part of the error:
- Make sure you're calling
clientAgent.startCall([])
after a successfulclientAgent.join
call. The join operation establishes the connection, whilestartCall
activates the media aspects of the call. - Subscribe to the appropriate events from the
callAgent
object to update your React application's state with participant information and stream data. Check the Azure Communication Services documentation for events like:on('participantsUpdated')
: Informs about changes in the participant list.on('videoStreamAdded')
: Notifies about a new video stream being added. - This error (
ACS callEndReason CallSetupError code 403 subCode 5829
) indicates a permission issue for the user attempting to join the room. Here's how to fix it: Double-check that the user credential (access token) generated by your Azure Function has the necessary permissions, specifically the "joinRoom" scope. If your room has access restrictions (e.g., requiring specific identities), confirm that the user's access token represents an authorized identity. Make sure your Azure Function has the required permissions to create rooms and generate access tokens with appropriate scopes.
Hope that helps. Let us know if you have further questions.
Best,
Grace