Skip to content

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

@frank005

Description

@frank005

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions