API-Examples
API-Examples copied to clipboard
Live Streaming uses the GlobalSettings so it does not set the user to audience when choosing that role
This is for the live streaming example in advanced. In liveStreaming.swift: On line 172, you are calling option.clientRoleType = GlobalSettings.shared.getUserRole()
This makes it so when the user tries to join as audience, they still join as a broadcaster, this needs to be updated to: option.clientRoleType = role