Open iosfitness opened 4 years ago
i'm not sure if i understand your requirements correctly. A channel will be automatically created when you host/audience joins, you do not need to manually create it. And if you want an audience to switch to host and stream out video, you will need to call setClientRole in the channel.
I am trying to dynamically create a channel and publish but its not sending stream on audience Apps
Below is the code snippet
Can anyone please suggest the right approach to do it?. My requirement is to create a channel when the host/broadcaster joins it. Reference :
https://docs.agora.io/en/Interactive%20Broadcast/start_live_ios?platform=iOS https://github.com/AgoraIO-Usecase/Breakout-Class/blob/master/breakout-ios/AgoraDualChannels/AgoraDualChannels/Controllers/LiveRoomViewController.swift