You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if it's possible to change these options post-init -- for example, for iOS, AVAudioSession.CategoryOptions. Currently they can only be provided to the one-time setupPlayer function. I believe that on iOS at least it is possible to change these options later in the app lifecycle, because prior to RNTP I was using Expo's AV library and was able to successfully change between Expo's InterruptionModeIOS.DuckOthers and InterruptionModeIOS.MixWithOthers using a user-facing toggle option within the app. I'd really like to be able to preserve that option without requiring a restart of the app now that I'm using RNTP, any thoughts on how to accomplish this? Thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm wondering if it's possible to change these options post-init -- for example, for iOS,
AVAudioSession.CategoryOptions
. Currently they can only be provided to the one-timesetupPlayer
function. I believe that on iOS at least it is possible to change these options later in the app lifecycle, because prior to RNTP I was using Expo's AV library and was able to successfully change between Expo'sInterruptionModeIOS.DuckOthers
andInterruptionModeIOS.MixWithOthers
using a user-facing toggle option within the app. I'd really like to be able to preserve that option without requiring a restart of the app now that I'm using RNTP, any thoughts on how to accomplish this? Thank you!Beta Was this translation helpful? Give feedback.
All reactions