Skip to content

[iOS] App launch instantly kills background audio #1199

@qu0cquyen

Description

@qu0cquyen

When launching the app on iOS, any currently playing background media (e.g., Spotify, Apple Music) is instantly paused/killed. This happens immediately upon app initialization, well before the user actually initiates or joins a StreamCall.

Dart-level configurations (such as passing a custom AudioConfigurationPolicy to StreamVideoOptions or using the audio_session package to force mixWithOthers) are ignored or instantly overridden because the underlying native WebRTC RTCAudioSession singleton aggressively claims the AVAudioSession upon plugin registration.

Steps to Reproduce

Start playing music on an iOS device via Spotify or Apple Music.
Launch the Flutter application

stream_video: ^1.3.1
stream_video_flutter: ^1.3.1
stream_video_push_notification: ^1.3.1
stream_video_screen_sharing: ^1.3.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions