SRGSSR / srgmediaplayer-apple

An advanced media player library, simple and reliable
MIT License
158 stars 33 forks source link

Audio tracks from several AVPlayer instances mixed when using AirPlay for only one of them #79

Open defagos opened 4 years ago

defagos commented 4 years ago

When using AirPlay with a single non-muted AVPlayer instance enabled for external playback, with other sibling instances muted and not enabled for external playback, audio tracks of all instances are mixed on the AirPlay receiver.

This seems to be a regression which appeared with AirPlay 2:

There might be no simple fix to this issue.

Issue type

Incorrect behavior

Environment information

I tested with devices probably using AirPlay 2:

Reproducibility

Always reproducible

Steps to reproduce

  1. Open the multiplayer demo.
  2. Enable AirPlay
  3. Listen