API-Examples icon indicating copy to clipboard operation
API-Examples copied to clipboard

Live Streaming uses the GlobalSettings so it does not set the user to audience when choosing that role

Open frank005 opened this issue 2 years ago • 0 comments

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

frank005 avatar Feb 17 '23 20:02 frank005