decentraland / decentraland/godot-explorer

[Bug] Stream stops playing when audio device changes (AirPods switching devices)

Open
#2,251 0 comments 0 reactions 0 assignees View on GitHub
bug claw-created mobile
Dominant language
Rust
Stars
18
Forks
19
Avg merge
4d 2h
Merged PRs (30d)
43

Description

## Description
Stream playback stops when the active audio device changes on iOS. The stream does not automatically resume when the device returns or switches.

## Platform
- iOS

## App Version
(Latest production version - iPhone 15 Pro)

## Device
iPhone 15 Pro

## Steps to Reproduce
1. Start watching a stream on Genesis Plaza Theater using AirPods
2. Have AirPods automatically switch to another device (e.g., joining a meeting on MacBook)
3. Observe stream playback

## Expected Behavior
The stream should either:
- Pause and resume when audio device returns, or
- Continue playing through the new audio output device, or
- Show a user-friendly error/notification

## Actual Behavior
The stream stops playing completely and does not resume. User must reload the scene to restart the stream.

## Occurrence
Reproducible when audio device switches away from the iOS device.

## Additional Context
This appears to be related to iOS audio session handling when the active audio route changes (e.g., AirPods switching between devices, connecting/disconnecting Bluetooth headphones).

---
Requested by Gino Cingolani via Slack

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.