sy6sy2 / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows.
https://kodi.tv/
Other
6 stars 1 forks source link

AriPlay 2 support + Fix output route bug after sleep/wake #81

Open sy6sy2 opened 4 years ago

sy6sy2 commented 4 years ago

Our current version is only AirPlay 1 capable. MrMC 3.9.1 partial enable AirPlay 2 support, see https://github.com/MrMC/mrmc/blob/b23efd72510863eaa46567b26b4abc02005f3a29/xbmc/platform/darwin/tvos/MainApplication.mm#L120

kambala-decapitator commented 4 years ago

I believe you wanted to write that our version is only AirPlay 1 capable :)

sy6sy2 commented 4 years ago
sy6sy2 commented 4 years ago

All tvOS app that not use the native tvOS video player OR use the old AirPlay 1 AVAudioSession implementation suffer of the bug describe here.

Because we do not use the native tvOS video player and because we use AirPlay 1/AVAudioSession we also have this bug. (And I can reproduce it every day...).

The Channels app also had this bug, and tmm1, a dev of this app, suggest to use the new audio API (AVSampleBufferAudioRenderer) in order to fix this Apple TV issue.

So, by adding AirPlay 2 support we will also fix this issue for all people using and AirPlay speaker or an HomePod.

You can easily reproduce this issue with the YouTube app and the Spotify app....