Start a broadcast while watching a video mutes the video on iOS

Hi all, I am working on a react native project which uses the GoCoder SDK. In a page I want to play a video using react-native-video and at the same time I want to broadcast live stream. The video is played normally until I start the broadcast. After starting broadcast using the GoCoder SDK, the video has been muted (i.e. no sound). Even I stopped the broadcast, the sound never resumes. I have added the below code but no hope. Any idea?

[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error:nil];

That’s great you’re working on a React Native project with our SDK @Sam Cheng. We are hoping to have a React Native wrapper in the near future, but we have no supporting docs on that and have not completed any testing yet.

There have been some React Native developers however in our Wowza livestreaming Slack channel that have had success and you can chat with them and hopefully get an answer here:

https://www.wowza.com/slack

Feel free to post your question in the “dev” channel in #livestreaming