feat(player): add Apple TV remote play/pause and AirPlay support

- Add playPause event handling in useRemoteControl hook
- Configure AVAudioSession for tvOS with longFormAudio policy
- Add AVInitialRouteSharingPolicy to enable AirPlay suggestions
This commit is contained in:
Fredrik Burmester
2026-01-16 12:42:13 +01:00
parent 8d90fe3a8b
commit db89295d9b
3 changed files with 20 additions and 1 deletions

View File

@@ -23,7 +23,8 @@
},
"UISupportsTrueScreenSizeOnMac": true,
"UIFileSharingEnabled": true,
"LSSupportsOpeningDocumentsInPlace": true
"LSSupportsOpeningDocumentsInPlace": true,
"AVInitialRouteSharingPolicy": "LongFormAudio"
},
"config": {
"usesNonExemptEncryption": false