Coordinate media playback with Group Activities

RSS for tag

Discuss the WWDC21 session Coordinate media playback with Group Activities.

Posts under wwdc21-10225 tag

3 Posts

Post

Replies

Boosts

Views

Activity

Group Session is not generated if the user didn't launch the app before.
Hi, I'm testing group activity for video with 3 test cases. For all tests, both users are connected by Face Time. Both users launch the app then tries share play -> OK One user launches the app then move it to background, the other user tries share play -> OK But case 3. One user kills the app, the other user launches the app and try share play -> It's not working. Share play popup is displayed, and first user touches the popup, then the app is launched. but group session await is not working properly. for await groupSession in MovieWatchingActivity.sessions() { self.groupSession = groupSession This code (2nd line) is never called in case 3. Maybe I missed something? Thanks.
0
0
771
Mar ’22
How to correctly request foreground presentation when using GroupActivity?
Details I'm working on a video streaming app, and we've implemented GroupActivity for SharePlay. The app doesn't support PiP. Based on the documentation we found, we can use the function requestForegroundPresentation described here. I was trying to call this function when the GroupSession is in waiting and joined states, but nothing happens on the user's device. There is no banner to explain anything The WWDC videos doesn't show an example, they just mention this feature, and it's unclear how it should work. Tried the api in the sample project supporting_coordinated_media_playback, and same result
0
0
1.2k
Jan ’22
Group Session is not generated if the user didn't launch the app before.
Hi, I'm testing group activity for video with 3 test cases. For all tests, both users are connected by Face Time. Both users launch the app then tries share play -> OK One user launches the app then move it to background, the other user tries share play -> OK But case 3. One user kills the app, the other user launches the app and try share play -> It's not working. Share play popup is displayed, and first user touches the popup, then the app is launched. but group session await is not working properly. for await groupSession in MovieWatchingActivity.sessions() { self.groupSession = groupSession This code (2nd line) is never called in case 3. Maybe I missed something? Thanks.
Replies
0
Boosts
0
Views
771
Activity
Mar ’22
Unsupported Activity popup on tvOS
I'm working on Group Activities for our video app. When I start a video from Apple TV, it's fine to sync it with other user's iPhone device. but inverse case, it's not working. And in some cases, I saw "Unsupported Activity : The active SharePlay activity is not supported on this Apple TV" What did I miss or wrong something?
Replies
3
Boosts
0
Views
1.4k
Activity
Mar ’22
How to correctly request foreground presentation when using GroupActivity?
Details I'm working on a video streaming app, and we've implemented GroupActivity for SharePlay. The app doesn't support PiP. Based on the documentation we found, we can use the function requestForegroundPresentation described here. I was trying to call this function when the GroupSession is in waiting and joined states, but nothing happens on the user's device. There is no banner to explain anything The WWDC videos doesn't show an example, they just mention this feature, and it's unclear how it should work. Tried the api in the sample project supporting_coordinated_media_playback, and same result
Replies
0
Boosts
0
Views
1.2k
Activity
Jan ’22