HomeiOS DevelopmentConflicting media playback dealing with between a number of gamers inside identical...

Conflicting media playback dealing with between a number of gamers inside identical iOS utility


In my iOS app, there are a number of gamers (native and internet based mostly) on totally different screens. I’m planning to work on a local participant element which persists between screens and there may be situations of conflicting media playback with different native or internet based mostly gamers on totally different screens. I’m in search of any doable method to deal with the conflicting media playback inside iOS utility.

Is there any present mechanism accessible for iOS app to establish and deal with such situations? Any insights/strategies on find out how to deal with it might be useful.

I attempted to establish if there may be any audio enjoying throughout the app (through native or internet based mostly gamers) utilizing AVAudioSession (utilizing isOtherAudioPlaying, and secondaryAudioShouldBeSilencedHint) however appears like that works just for totally different apps not throughout the identical app.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments