Coordinate media playback in Safari with Group Activities

RSS for tag

Discuss the WWDC21 session Coordinate media playback in Safari with Group Activities.

Posts under wwdc21-10189 tag

5 Posts

Post

Replies

Boosts

Views

Activity

Crash in Monetary 12.1 Objective-C run time
I have seen a crash in Objective-C run time while pthread exits. I tried to reproduce it with Monetary 12.2 and same is not observed. following is the back trace 0  libobjc.A.dylib                   0x7ff8198ede7f objc_release + 31 1  libobjc.A.dylib                   0x7ff8198f241f AutoreleasePoolPage::releaseUntil(objc_object**) + 167 2  libobjc.A.dylib                   0x7ff8198ef3a0 objc_autoreleasePoolPop + 161 3  libobjc.A.dylib                   0x7ff8198f63c9 AutoreleasePoolPage::tls_dealloc(void*) + 91 4  libsystem_pthread.dylib           0x7ff819a5556c _pthread_tsd_cleanup + 487 5  libsystem_pthread.dylib           0x7ff819a57b80 _pthread_exit + 70 6  libsystem_pthread.dylib           0x7ff819a574ff _pthread_start + 136 7  libsystem_pthread.dylib           0x7ff819a5300f thread_start + 15
0
0
448
Feb ’22
shareplay doesn't work for safari
Our app create a GroupActivity with a fallbackURL points to our website ( the url has included the conentId to played). Exceptal behavior is when a Watch Together invitation is issued by an iPhone user to a user on a Mac, Safari will be launched and asked to load the URL that we provide in GroupActivity.  Actual result is Safari launched but URL not loaded. What should the fallbackURL be? Or what should we do any other things except set fallbackURL?
2
0
1.7k
Aug ’21
navigator.mediaSession.addEventListener is not correct for MacOS 12 beta?
Sample Code for develop in safari to shareplay with others, one step is adopting Coordinator. Source: https://developer.apple.com/videos/play/wwdc2021/10189/ Here is the sample code: navigator.mediaSession.addEventListener(‘coordinatorchange’, coordinator =>{ if (coordinator) coordinator.join(); controls.inSessionIcon.style.hidden = !coordinator; }); But navigator.mediaSession have no API addEventListener. I think it should be navigator.mediaSession.coordinator.addEventListener Any one agree with me?
0
0
981
Jul ’21
Symbol not found when Using GroupActivity
hi, I was testing the demo project that apple released about GroupActivity. Here is the link And when I run this demo on my iPhone12 iOS15 beta2, it came the error below in the runtime: dyld[12941]: Symbol not found: _$s15GroupActivities0A7SessionC8SessionsV8IteratorVyx__GScIAAMc  Referenced from: /private/var/containers/Bundle/Application/400F18B3-F1F2-47A8-B116-8F700D1E87DC/GroupWatching.app/GroupWatching  Expected in: /System/Library/Frameworks/GroupActivities.framework/GroupActivities Does anyone knows how to fix this? Thx
0
0
579
Jul ’21
Crash in Monetary 12.1 Objective-C run time
I have seen a crash in Objective-C run time while pthread exits. I tried to reproduce it with Monetary 12.2 and same is not observed. following is the back trace 0  libobjc.A.dylib                   0x7ff8198ede7f objc_release + 31 1  libobjc.A.dylib                   0x7ff8198f241f AutoreleasePoolPage::releaseUntil(objc_object**) + 167 2  libobjc.A.dylib                   0x7ff8198ef3a0 objc_autoreleasePoolPop + 161 3  libobjc.A.dylib                   0x7ff8198f63c9 AutoreleasePoolPage::tls_dealloc(void*) + 91 4  libsystem_pthread.dylib           0x7ff819a5556c _pthread_tsd_cleanup + 487 5  libsystem_pthread.dylib           0x7ff819a57b80 _pthread_exit + 70 6  libsystem_pthread.dylib           0x7ff819a574ff _pthread_start + 136 7  libsystem_pthread.dylib           0x7ff819a5300f thread_start + 15
Replies
0
Boosts
0
Views
448
Activity
Feb ’22
SharePlay: Custom player
Does shareplay support a custom player (different play buttons, pause buttons etc.)? Does anyone have some sample code that does this?
Replies
0
Boosts
0
Views
708
Activity
Oct ’21
shareplay doesn't work for safari
Our app create a GroupActivity with a fallbackURL points to our website ( the url has included the conentId to played). Exceptal behavior is when a Watch Together invitation is issued by an iPhone user to a user on a Mac, Safari will be launched and asked to load the URL that we provide in GroupActivity.  Actual result is Safari launched but URL not loaded. What should the fallbackURL be? Or what should we do any other things except set fallbackURL?
Replies
2
Boosts
0
Views
1.7k
Activity
Aug ’21
navigator.mediaSession.addEventListener is not correct for MacOS 12 beta?
Sample Code for develop in safari to shareplay with others, one step is adopting Coordinator. Source: https://developer.apple.com/videos/play/wwdc2021/10189/ Here is the sample code: navigator.mediaSession.addEventListener(‘coordinatorchange’, coordinator =>{ if (coordinator) coordinator.join(); controls.inSessionIcon.style.hidden = !coordinator; }); But navigator.mediaSession have no API addEventListener. I think it should be navigator.mediaSession.coordinator.addEventListener Any one agree with me?
Replies
0
Boosts
0
Views
981
Activity
Jul ’21
Symbol not found when Using GroupActivity
hi, I was testing the demo project that apple released about GroupActivity. Here is the link And when I run this demo on my iPhone12 iOS15 beta2, it came the error below in the runtime: dyld[12941]: Symbol not found: _$s15GroupActivities0A7SessionC8SessionsV8IteratorVyx__GScIAAMc  Referenced from: /private/var/containers/Bundle/Application/400F18B3-F1F2-47A8-B116-8F700D1E87DC/GroupWatching.app/GroupWatching  Expected in: /System/Library/Frameworks/GroupActivities.framework/GroupActivities Does anyone knows how to fix this? Thx
Replies
0
Boosts
0
Views
579
Activity
Jul ’21