What's new in SharePlay

RSS for tag

Discuss the WWDC22 Session What's new in SharePlay

Posts under wwdc2022-10140 tag

4 Posts

Post

Replies

Boosts

Views

Activity

Shareplay content is paused when returning from background (picture in picture or locked screen)
Shareplay content (streaming using AVPlayer) is paused when returning from background to foreground (picture in picture or locked screen) This only happen for one participant who initiated transition from background to foreground, all other participants have their content playing fine which leads to off sync between participants, content sync again if trigger player.play() for the participant who experienced the issue using playback position from other participants. How can I prevent content paused after returning from background to foreground. P.S: Without SharePlay active session content is not paused with same scenario.
0
0
1.2k
Jan ’23
"Cannot find 'GroupActivitySharingController' in scope" even when the documentation says that it is available on macCatalyst.
I would like to use the GroupActivitySharingController, but it seems it is not available for macCatalyst. On the iOS version, it works. The documentation says that it should be available for catalyst: https://developer.apple.com/documentation/groupactivities/groupactivitysharingcontroller Error message: "Cannot find 'GroupActivitySharingController' in scope" Is there anything I have missed? Thanks,
0
0
1.2k
Sep ’22
Participants of the GroupSession
I can get the uuid of the participants by "groupSession.localParticipant". But how can I figure out the corresponding contact from within my app?
Replies
0
Boosts
0
Views
810
Activity
Jan ’23
Shareplay content is paused when returning from background (picture in picture or locked screen)
Shareplay content (streaming using AVPlayer) is paused when returning from background to foreground (picture in picture or locked screen) This only happen for one participant who initiated transition from background to foreground, all other participants have their content playing fine which leads to off sync between participants, content sync again if trigger player.play() for the participant who experienced the issue using playback position from other participants. How can I prevent content paused after returning from background to foreground. P.S: Without SharePlay active session content is not paused with same scenario.
Replies
0
Boosts
0
Views
1.2k
Activity
Jan ’23
How to SharePlay songs with MusicKit for Swift?
Hi all, I am curious about how we can use MusicKit for Swift to SharePlay music? There seems to be very little documentation around this as most of it seems top be focused on AVPlayerPlaybackCoordinator. Is there an easier way to directly integrate ApplicationMusicPlayer with GroupActivity?
Replies
2
Boosts
1
Views
1.2k
Activity
Nov ’22
"Cannot find 'GroupActivitySharingController' in scope" even when the documentation says that it is available on macCatalyst.
I would like to use the GroupActivitySharingController, but it seems it is not available for macCatalyst. On the iOS version, it works. The documentation says that it should be available for catalyst: https://developer.apple.com/documentation/groupactivities/groupactivitysharingcontroller Error message: "Cannot find 'GroupActivitySharingController' in scope" Is there anything I have missed? Thanks,
Replies
0
Boosts
0
Views
1.2k
Activity
Sep ’22