Skip to content

bring back disableAudioSessionManagement from v6 to v7 #4804

@ste00martin

Description

@ste00martin

Given:
you're running the app on an iOS device

When:
you try to record audio after pausing the video

Expected:
the audio record should work

Actual:
It errors saying the audio session is already being used (due to react-native-video using it and not allowing other libraries to record audio)

With expo-audio I'm calling audio session management for recording audio; setting it to 'play and record' in order to allow playing video, and then recording audio. In v7 it doesn't allow me to record audio and watch video at the same time. I'd like to add back in the missing prop from v6: disableAudioSessionManagement as a boolean that's passed in either as a prop, or on player initialization that disables calling audioSession.setCategory(category, mode: .moviePlayback, options: audioSessionCategoryOptions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions