Post

Replies

Boosts

Views

Activity

Why does AVPlayer stop reporting seekableTimeRanges when currentTime falls out of a live DVR window?
For live content, if the user pauses playback and their current playhead falls out of the valid DVR window, AVPlayer will stop reporting seekableTimeRanges - why does this happen? Is there a workaround? For example: Suppose we were streaming content with a 5 minute DVR window User pauses playback for 6 minutes Their current position is now outside of the valid seekable time range AVPlayer stops reporting seekableTimeRanges all together This is problematic for two reasons: We have observed the AVPlayer generally becomes unresponsive when this happens. i.e. Any seek action will cause the player to freeze up Without knowing the seekable range, we dont know how to return the user to the live edge when they resume playback Seems to be the same issue described in these threads: https://developer.apple.com/forums/thread/45850 https://developer.apple.com/forums/thread/45850
2
0
681
Sep ’23
Unable to AirPlay from iOS app running on M1 Mac
Background: We recently added support for running the iOS version of our video streaming app on M1 MacBooks - as part of this we'd like to be able to AirPlay from within the M1 version of the app to external devices (tvOS, LG, Roku, etc..). AirPlay works as expected when running the iOS app on an iPhone, however, when running the iOS app on an M1 Mac, AirPlay does not work. It attempts to make a connection, but the video player goes black on the sender device and nothing appears on the receiving device. We use AVPlayer as our underlying video implementation. AVRoutePickerView is used to establish the AirPlay connections. Question: Is AirPlay supported for iOS apps running on apple silicon? Are there certain flags that need to be set to enable this? Any idea what may be causing the failed AirPlay connection? Error: This error appears immediately after attempting to AirPlay, unsure if it is related: sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}```
0
0
1.3k
Aug ’22
How to know if a FaceTime call is active?
The GroupSession API doesn't seem to expose any method for determining whether there is active FaceTime call. Any suggestions on how one might check this? (I can't use groupSession.activeParticipants, as this data is only available once a SharePlay session has started. I need to know the existence of a FaceTime call prior to the user starting a SharePlay session).
1
0
1.9k
May ’22