Post

Replies

Boosts

Views

Activity

SharePlay initiated via AirPlay Button
We recently implemented SharePlay in our broadcasting app and most of things work fine. We now found out, that the user, during an SharePlay session, is able to hand over the session to an Apple TV via the AirPlay Button, which is convenient, because during the SharePlay session, this should be exactly what the user had in mind. However, since this is not the start of a "real" or "normal" AirPlay, things are different. Especially AVPlayers isExternalPlaybackActive property doesn't change in case it's a SharePlay handover. This leads to problems in our app with AirPlay and SharePlay behaviour. Most of all, the user cannot control the playback anymore from his device, only other participants of the SharePlay session can. How can we detect the hand over to Apple TV? Is there an alternative to isExternalPlaybackActive for the SharePlay case?
0
0
618
Jun ’22