Coordinate media playback in Safari with Group Activities

RSS for tag

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

View Session

Posts under wwdc21-10189 tag

5 Posts
Sort by:
Post not yet marked as solved
0 Replies
421 Views
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
Posted
by
Post marked as solved
2 Replies
816 Views
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?
Posted
by
Post not yet marked as solved
0 Replies
472 Views
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?
Posted
by
Post not yet marked as solved
0 Replies
163 Views
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
Posted
by