Streaming

RSS for tag

Deep dive into the technical specifications that influence seamless playback for streaming services, including bitrates, codecs, and caching mechanisms.

Streaming Documentation

Posts under Streaming subtopic

Post

Replies

Boosts

Views

Activity

How to create an SPC request for license renewal?
I managed to play FPS protected content on Safari. Then added lease/rental TLLV to manage simultanous playback. iOS worked fine by hardcoding expiryDuration and let AVAssetResourceLoadingRequest.contentInformationRequest does its job.Unfortunately, there is no such a feature on Safari. I could not find any possible function on WebKitMediaKeySession object.So, how to create an SPC request for license renewal?
10
0
6.2k
Nov ’22
HLS - HEVC 1080/2160 25/50 frames issues with DRM
Hi all, I'm streaming in HEVC 1080/2160 25/50 frames to Apple TV 4K 1st Gen. In both cases the devices can display the content without major issue, even doing HEVC 2160p50 which is very intense on the CPU, so the devices is very capable of handling that. Problem begins as soon i enabled DRM Fairplay, Apple TV presents some sporadic video freezing and apple tv console logs shows "dropped frames" as the main reason for it. The bigger the resolution and frame rate has more often video freezing. Even doing HEVC 720p50 there are some ocurrences. Did not have any ocurrence doing 576p50. It seems to be an issue related to pure CPU of decoding and decryption of the content, but afaik the Apple TV has an independent chipset just for decription. Is this a known issue? Any ideas what could it be? Why DRM/Fairplay enabled could affect that much the performance? Looking forward to the replies. Thanks!
3
0
2k
Nov ’22
iOS 16.1 Safari/Chrome with video js player 7.18 fails with Fairplay DRM playback
On updating to iOS 16.1 we started having playback failure for all our drm content on safari/chrome for ios which uses fairplay. Versions below 16.0 or earlier do not have this issue. We have tried using video js player with minimum eme plugins required to play drm/fairplay and no player customizations, that still doesn't play back. We get the media decoder saying : VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) The media playback was aborted due to a corruption problem or because the media used features your browser did not support. MediaError {code: 3, message: "The media playback was aborted due to a corruption…media used features your browser did not support."} This issue looks localized to fairplay on ios 16.1. Has there been any changes to fairplay on ios browsers?.
0
1
3.5k
Nov ’22
HLS video AVPlayer issue
Hello! We’re having an issue with playing a video file from one of our cameras on iOS and Safari desktop, AVPlayer isn’t playing video file - HLS, none of the ts files are playing in QuickTime player and VLC player plays both m3u and ts separately. At the same time mp4 container, copied from ts files, are playing fine on all platforms and players. Do you have any ideas what might be wrong? Link to files https://drive.google.com/file/d/16VZgxud7wODSytmF-7rA7TYWwHGZbAWB/view?usp=share_link
0
0
762
Nov ’22
Playback not happening in Apple devices when adding ac4 audio track to content
I have packaged a content having video resolutions 2160,1080,720,480,320 and 240 and audio formats such as EC4JOC, EC3, AC4 and AAC with shaka packager. In both DRM and Non-DRM case we found video is not playing in apple devices. Then I tried by removing random tracks, one at a time and re-pack the content. Surprisingly, it started playing in both non-drm and drm versions when I removed the ac-4 audio track from the packaging command. Note that we are trying with cmaf version. I have raised this to shaka's github and they suggested like it might be a problem of apple and we need to post this to apple. Thank You
1
0
825
Nov ’22
Create a New Certificate -- FairPlay Streaming Certificate -- Maximum number of certificates generated
Hi guys, I should create FP Streaming certificate on Appstore to provide secured content streaming. I have one registered FP Streaming certiticate already. when i tried to create one more, i couldn't do it as belows. is there any limitation? i cannot register two FP Streaming certiticates? One more thing, I tried to remove registered certificate but there was no way to do it as belows There is no [revoke] button. Does anybody know the reason? Many thanks June, Chung
0
1
1.1k
Nov ’22
Can AVSampleBufferAttachContentKey be used without AVPlayer?
I have a current implementation that uses AVPlayer and AVContentKeySession that works perfectly fine. I am integrating a custom player into the current project and was wondering if FPS content would work. So my question is if AVSampleBufferAttachContentKey can be used to decrypt FPS-protected (HLS) content without AVPlayer? If yes, is there any documentation on how this should be used?
4
0
1.5k
Dec ’22
How to develop live streaming
I want to build a website that can run on Safari.I need it to work on iPhone at least and ideally also on iPad.The basic idea is to give gamers the ability to live stream their game play live and enable them to also talk during the play so people can see and hear them live on YouTube.So technically what I need is to develop something that can capture the screen (video) and microphone (audio).And then I need to somehow send what I capture to YouTube live streaming. Since it is going to be a website, the language I intend to use is JavaScript. Do you know any good libraries I can use in order to achieve that?Thanks Danny
1
0
1.1k
Dec ’22
AVPlayer CoreMediaErrorDomain -12642 -12880
Hi everyone, I am having a problem on AVPlayer when I try to play some videos. The video starts for a few seconds, but immediately after I see a black screen and in the console there is the following error: https://...manifest.m3u8 -12642 "CoreMediaErrorDomain" "Impossibile completare l'operazione. (Errore CoreMediaErrorDomain -12642 - No matching mediaFile found from playlist)" -12880 "CoreMediaErrorDomain" "Can not proceed after removing variants" - The strange thing is that if I try to play the same video on multiple devices, the result is that on someone it works and on someone it does not. For example on iPhone 5SE works and on iPad Pro 11'' II gen. and iPhone11 I've tried searching around to figure out what may be causing the problem, but there doesn't seem to be a clear solution. Anyone who has had a similar problem? Do you have any ideas about the reason for this problem?
2
3
2.8k
Dec ’22
AVContentKeySession run while application is in background
Hello, I am queueing up download task on a AVAssetDownloadURLSession - if I queue up 6-7 downloads, not all of them start straight away in the foreground, some are actually queued up and will begin, run and complete while the app is in background mode. The HLS streams I am downloading are FairPlay protected, so I use AVContentKeySession to fetch the keys for each download I pass the AVURLAsset to the key session via addContentKeyRecipient since I don't have an skd. To my understanding, the key session won't actually kick in before I start the download , i.e. so it can download the manifest and find the skd and then I can go through the whole DRM flow - i.e. the asset download task needs to actually begin for all this to work. Problem is, if my app is in the background, the part of my code that calls addContentKeyRecipient is not executed, since the background session only notifies you when it has completed, or failed. My question is - how are we supposed to fetch licenses while in the background? Does content key session provide some background support? Apple's advice is to always preload keys, but it seems this is not always possible. Am I missing something? Thanks in advance for any assistance.
1
0
1.2k
Dec ’22
iOS 16 HLS Fairplay HDMI casting regression
Hi, as stated in this radar https://feedbackassistant.apple.com/feedback/11601970, our customers are facing issues after having upgraded to iOS 16 casting video from our app to their TV using HDMI Adaptor. HDMI casting is ok using clear (non Fairplay) video content but not with HLS Fairplay. The sound is broken and playback freezes a lot. The same problem happens on iOS 16 beta 1 as well. As far as I've seen there is no AVFoundation API update for iOS 16 listed in the release note. Anyone else experiencing this issue ? Best regards Cédric
4
2
2.2k
Dec ’22
HLS h.264 avc1 no video on safari or iOS
Hi. I have unresolved problem with playback HLS. Everything double checked according to https://developer.apple.com/documentation/http_live_streaming/http_live_streaming_hls_authoring_specification_for_apple_devices?language=objc Maybe i missed something? Can any one help? Link to one of my HLS - https://drive.google.com/file/d/1TPwYg8QkbUyLYFNwAG6jU4X_jbS9fp0j/view?usp=sharing
0
0
847
Dec ’22
VTT Special Characters not displaying properly sometimes
When choosing to display a foreign audio track on some videos, the text does not render correctly. instead of a musical note I see white boxes for instance. This issue does not occur for the same content on Safari for Mac or Safari for iPad. The issue does present itself for a native mobile app (AVPlayer) on the same iPad, Safari for iPhone and the native mobile app on iPhone. Below is an image of the issue, the left is what I see on a problematic device and the right is what I would expect. Are there any known issues or workaround for this?
0
0
1.5k
Dec ’22
AVPlayer Not Able to Handle Relative Path URL in HLS Streams
We are running into an issue that seems unique to AVPlayer. We've built a new architecture for our HLS streams which makes use of relative URLs. We can play these channels on a number of other players just fine, but when trying to build using AVPlayer, the channel gets 400 errors requesting either child manifests/segments with relative URLs. Using curl, we are able to get a 200 success by getting to a url like: something.com/segmentfolder/../../abcd1234/videosegment_01.mp4 Curl is smart enough to get rid of the ../../ and create a valid path so the actual request (which can be seen using curl -v) looks something like: something.com/abcd1234/videosegment_01.mp4 Great. But AVPlayer doesn't do this. So it makes the request as is, which leads to a 400 error and it can't download the segment. We were able to simulate this problem with Swift playground fairly easily with this code: let hlsurl = URL(string: "website.com/segmentfolder/../../abc1234/videosegment.mp4")! print(hlsurl) print(hlsurl.standardized) The first print shows the URL as is. Trying to GET that URL leads to a 400. The second print properly handles it by adding .standardized to the URL. This leads to a 200. The problem is, this only works for the top level/initial manifest, it doesn't work for all the child manifests and segments. let url = URL(string: "website.com/segmentfolder/../../abc1234/videosegment.mp4")! let task = URLSession.shared.dataTask(with: url.standardized) {(data, response, error) in guard let data = data else { return } print(String(data: data, encoding: .utf8)!) } So question, does AVPlayer support relative URLs? If so, why can't it handle the ../../ in the URL path like other players and curl can? Is there a special way to get it to trigger standardizing ALL URL requests? Any help would be appreciated. n the network log.n the network log.
0
1
1.6k
Dec ’22
Content Steering Error in Handling Steering Manifest
I would like to perform pathway cloning as described in the video Deliver reliable streams with HLS Content Steering and the document draft-pantos-hls-rfc8216bis-12. Unfortunately, I keep getting an error: CoreMediaErrorDomain (Code: -15881): Content Steering: error in handling Steering Manifest, ignoring and continue playback. The client device is an iPhone (iOS 16.2). There is a video accessible from an "azure" CDN and a video accessible from an "edge" CDN. I want the player, which is playing the video from the azure CDN, to switch to the edge CDN. This is the manifest received by the player: #EXTM3U #EXT-X-CONTENT-STEERING:SERVER-URI="https://example.com/content-steering?pathwaycloning=true",PATHWAY-ID="azure" #EXT-X-STREAM-INF:BANDWIDTH=5605600,RESOLUTION=416x240,CODECS="avc1.64001e,mp4a.40.2",PATHWAY-ID="azure" https://azure.com/contentsteering/stream_0/stream.m3u8 This is the steering manifest received by the player (every 10s, as specified by TTL): {     "VERSION": 1,     "TTL": 10,     "RELOAD-URI": "https://example.com/content-steering?pathwaycloning=true",     "PATHWAY-PRIORITY": [         "edge",         "azure",         "aws"     ],     "PATHWAY-CLONES": [         {             "BASE-ID": "azure",             "ID": "edge",             "URI-REPLACEMENT": {                 "HOST": "edge.com"             }         }     ] } I would expect the player to request the media files (stream.m3u8, data00.ts, data01.ts...) at https://edge.com/contentsteering/stream_0/. It doesn't, however, and instead I get the error specified in bold above. Any idea what is wrong with my steering manifest?
2
0
1k
Dec ’22
Error Downloading FairPlay content using AVAggregateDownloadTask
During intermittent download attempts or deleting the existing download and retrying itm getting the following error: The operation couldn’t be completed. (CoreMediaErrorDomain error -12640.) Error Domain=CoreMediaErrorDomain Code=-12640 "(null)" UserInfo={_NSURLErrorRelatedURLSessionTaskErrorKey=(\n    "BackgroundAVAssetDownloadTask <6476CB53-96B1-4AE6-88C3-EFDA3FC47F2F>.<2>"\n), _NSURLErrorFailingURLSessionTaskErrorKey=BackgroundAVAssetDownloadTask <6476CB53-96B1-4AE6-88C3-EFDA3FC47F2F>.<2>} The method which throws the error: func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) While downloading the content we prefetch the persistent key using AVContentKeySession and save that locally. Once we got the key successfully we start the download using AVAggregateDownloadTask. Hence we are not getting any issue in obtaining key or with the key exipry. Issue comes only at download attempt of that content. Background History of the issue: This issue is a follow up of a previous major issue, which we understood is an encoding issue for fairplay content. The issue was occuring on downloading of the highest resolution of the content either if we select or let the aggregate task pick the hgihest by default on its own. We used to get the following error code in response of download attempt which always fails: (CoreMediaErrorDomain error -12660 - HTTP 403: Forbidden) Note: We have also managed session our streams to upto 1 minute if the attempt to play same link it will result in failure to access stream. We fixed the issue by reducing the hls file size from backend encoding. Now we are getting this follow up issue afterwards. The problem is we are not able to get much information about the error code anywhere on the internet or documentation and not much help on forums as well. Generally people are getting this error at the time of key retrieval process. But we are getting via AVContentKeySession properly beforehand here and error coming only on download attempt of the content intermittently.
0
2
1.6k
Dec ’22
How to create an SPC request for license renewal?
I managed to play FPS protected content on Safari. Then added lease/rental TLLV to manage simultanous playback. iOS worked fine by hardcoding expiryDuration and let AVAssetResourceLoadingRequest.contentInformationRequest does its job.Unfortunately, there is no such a feature on Safari. I could not find any possible function on WebKitMediaKeySession object.So, how to create an SPC request for license renewal?
Replies
10
Boosts
0
Views
6.2k
Activity
Nov ’22
HLS - HEVC 1080/2160 25/50 frames issues with DRM
Hi all, I'm streaming in HEVC 1080/2160 25/50 frames to Apple TV 4K 1st Gen. In both cases the devices can display the content without major issue, even doing HEVC 2160p50 which is very intense on the CPU, so the devices is very capable of handling that. Problem begins as soon i enabled DRM Fairplay, Apple TV presents some sporadic video freezing and apple tv console logs shows "dropped frames" as the main reason for it. The bigger the resolution and frame rate has more often video freezing. Even doing HEVC 720p50 there are some ocurrences. Did not have any ocurrence doing 576p50. It seems to be an issue related to pure CPU of decoding and decryption of the content, but afaik the Apple TV has an independent chipset just for decription. Is this a known issue? Any ideas what could it be? Why DRM/Fairplay enabled could affect that much the performance? Looking forward to the replies. Thanks!
Replies
3
Boosts
0
Views
2k
Activity
Nov ’22
iOS 16.1 Safari/Chrome with video js player 7.18 fails with Fairplay DRM playback
On updating to iOS 16.1 we started having playback failure for all our drm content on safari/chrome for ios which uses fairplay. Versions below 16.0 or earlier do not have this issue. We have tried using video js player with minimum eme plugins required to play drm/fairplay and no player customizations, that still doesn't play back. We get the media decoder saying : VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) The media playback was aborted due to a corruption problem or because the media used features your browser did not support. MediaError {code: 3, message: "The media playback was aborted due to a corruption…media used features your browser did not support."} This issue looks localized to fairplay on ios 16.1. Has there been any changes to fairplay on ios browsers?.
Replies
0
Boosts
1
Views
3.5k
Activity
Nov ’22
HLS video AVPlayer issue
Hello! We’re having an issue with playing a video file from one of our cameras on iOS and Safari desktop, AVPlayer isn’t playing video file - HLS, none of the ts files are playing in QuickTime player and VLC player plays both m3u and ts separately. At the same time mp4 container, copied from ts files, are playing fine on all platforms and players. Do you have any ideas what might be wrong? Link to files https://drive.google.com/file/d/16VZgxud7wODSytmF-7rA7TYWwHGZbAWB/view?usp=share_link
Replies
0
Boosts
0
Views
762
Activity
Nov ’22
Playback not happening in Apple devices when adding ac4 audio track to content
I have packaged a content having video resolutions 2160,1080,720,480,320 and 240 and audio formats such as EC4JOC, EC3, AC4 and AAC with shaka packager. In both DRM and Non-DRM case we found video is not playing in apple devices. Then I tried by removing random tracks, one at a time and re-pack the content. Surprisingly, it started playing in both non-drm and drm versions when I removed the ac-4 audio track from the packaging command. Note that we are trying with cmaf version. I have raised this to shaka's github and they suggested like it might be a problem of apple and we need to post this to apple. Thank You
Replies
1
Boosts
0
Views
825
Activity
Nov ’22
Create a New Certificate -- FairPlay Streaming Certificate -- Maximum number of certificates generated
Hi guys, I should create FP Streaming certificate on Appstore to provide secured content streaming. I have one registered FP Streaming certiticate already. when i tried to create one more, i couldn't do it as belows. is there any limitation? i cannot register two FP Streaming certiticates? One more thing, I tried to remove registered certificate but there was no way to do it as belows There is no [revoke] button. Does anybody know the reason? Many thanks June, Chung
Replies
0
Boosts
1
Views
1.1k
Activity
Nov ’22
Can AVSampleBufferAttachContentKey be used without AVPlayer?
I have a current implementation that uses AVPlayer and AVContentKeySession that works perfectly fine. I am integrating a custom player into the current project and was wondering if FPS content would work. So my question is if AVSampleBufferAttachContentKey can be used to decrypt FPS-protected (HLS) content without AVPlayer? If yes, is there any documentation on how this should be used?
Replies
4
Boosts
0
Views
1.5k
Activity
Dec ’22
How to develop live streaming
I want to build a website that can run on Safari.I need it to work on iPhone at least and ideally also on iPad.The basic idea is to give gamers the ability to live stream their game play live and enable them to also talk during the play so people can see and hear them live on YouTube.So technically what I need is to develop something that can capture the screen (video) and microphone (audio).And then I need to somehow send what I capture to YouTube live streaming. Since it is going to be a website, the language I intend to use is JavaScript. Do you know any good libraries I can use in order to achieve that?Thanks Danny
Replies
1
Boosts
0
Views
1.1k
Activity
Dec ’22
AVPlayer CoreMediaErrorDomain -12642 -12880
Hi everyone, I am having a problem on AVPlayer when I try to play some videos. The video starts for a few seconds, but immediately after I see a black screen and in the console there is the following error: https://...manifest.m3u8 -12642 "CoreMediaErrorDomain" "Impossibile completare l'operazione. (Errore CoreMediaErrorDomain -12642 - No matching mediaFile found from playlist)" -12880 "CoreMediaErrorDomain" "Can not proceed after removing variants" - The strange thing is that if I try to play the same video on multiple devices, the result is that on someone it works and on someone it does not. For example on iPhone 5SE works and on iPad Pro 11'' II gen. and iPhone11 I've tried searching around to figure out what may be causing the problem, but there doesn't seem to be a clear solution. Anyone who has had a similar problem? Do you have any ideas about the reason for this problem?
Replies
2
Boosts
3
Views
2.8k
Activity
Dec ’22
AVContentKeySession run while application is in background
Hello, I am queueing up download task on a AVAssetDownloadURLSession - if I queue up 6-7 downloads, not all of them start straight away in the foreground, some are actually queued up and will begin, run and complete while the app is in background mode. The HLS streams I am downloading are FairPlay protected, so I use AVContentKeySession to fetch the keys for each download I pass the AVURLAsset to the key session via addContentKeyRecipient since I don't have an skd. To my understanding, the key session won't actually kick in before I start the download , i.e. so it can download the manifest and find the skd and then I can go through the whole DRM flow - i.e. the asset download task needs to actually begin for all this to work. Problem is, if my app is in the background, the part of my code that calls addContentKeyRecipient is not executed, since the background session only notifies you when it has completed, or failed. My question is - how are we supposed to fetch licenses while in the background? Does content key session provide some background support? Apple's advice is to always preload keys, but it seems this is not always possible. Am I missing something? Thanks in advance for any assistance.
Replies
1
Boosts
0
Views
1.2k
Activity
Dec ’22
iOS 16 HLS Fairplay HDMI casting regression
Hi, as stated in this radar https://feedbackassistant.apple.com/feedback/11601970, our customers are facing issues after having upgraded to iOS 16 casting video from our app to their TV using HDMI Adaptor. HDMI casting is ok using clear (non Fairplay) video content but not with HLS Fairplay. The sound is broken and playback freezes a lot. The same problem happens on iOS 16 beta 1 as well. As far as I've seen there is no AVFoundation API update for iOS 16 listed in the release note. Anyone else experiencing this issue ? Best regards Cédric
Replies
4
Boosts
2
Views
2.2k
Activity
Dec ’22
HLS h.264 avc1 no video on safari or iOS
Hi. I have unresolved problem with playback HLS. Everything double checked according to https://developer.apple.com/documentation/http_live_streaming/http_live_streaming_hls_authoring_specification_for_apple_devices?language=objc Maybe i missed something? Can any one help? Link to one of my HLS - https://drive.google.com/file/d/1TPwYg8QkbUyLYFNwAG6jU4X_jbS9fp0j/view?usp=sharing
Replies
0
Boosts
0
Views
847
Activity
Dec ’22
VTT Special Characters not displaying properly sometimes
When choosing to display a foreign audio track on some videos, the text does not render correctly. instead of a musical note I see white boxes for instance. This issue does not occur for the same content on Safari for Mac or Safari for iPad. The issue does present itself for a native mobile app (AVPlayer) on the same iPad, Safari for iPhone and the native mobile app on iPhone. Below is an image of the issue, the left is what I see on a problematic device and the right is what I would expect. Are there any known issues or workaround for this?
Replies
0
Boosts
0
Views
1.5k
Activity
Dec ’22
AVPlayer Not Able to Handle Relative Path URL in HLS Streams
We are running into an issue that seems unique to AVPlayer. We've built a new architecture for our HLS streams which makes use of relative URLs. We can play these channels on a number of other players just fine, but when trying to build using AVPlayer, the channel gets 400 errors requesting either child manifests/segments with relative URLs. Using curl, we are able to get a 200 success by getting to a url like: something.com/segmentfolder/../../abcd1234/videosegment_01.mp4 Curl is smart enough to get rid of the ../../ and create a valid path so the actual request (which can be seen using curl -v) looks something like: something.com/abcd1234/videosegment_01.mp4 Great. But AVPlayer doesn't do this. So it makes the request as is, which leads to a 400 error and it can't download the segment. We were able to simulate this problem with Swift playground fairly easily with this code: let hlsurl = URL(string: "website.com/segmentfolder/../../abc1234/videosegment.mp4")! print(hlsurl) print(hlsurl.standardized) The first print shows the URL as is. Trying to GET that URL leads to a 400. The second print properly handles it by adding .standardized to the URL. This leads to a 200. The problem is, this only works for the top level/initial manifest, it doesn't work for all the child manifests and segments. let url = URL(string: "website.com/segmentfolder/../../abc1234/videosegment.mp4")! let task = URLSession.shared.dataTask(with: url.standardized) {(data, response, error) in guard let data = data else { return } print(String(data: data, encoding: .utf8)!) } So question, does AVPlayer support relative URLs? If so, why can't it handle the ../../ in the URL path like other players and curl can? Is there a special way to get it to trigger standardizing ALL URL requests? Any help would be appreciated. n the network log.n the network log.
Replies
0
Boosts
1
Views
1.6k
Activity
Dec ’22
Content Steering Error in Handling Steering Manifest
I would like to perform pathway cloning as described in the video Deliver reliable streams with HLS Content Steering and the document draft-pantos-hls-rfc8216bis-12. Unfortunately, I keep getting an error: CoreMediaErrorDomain (Code: -15881): Content Steering: error in handling Steering Manifest, ignoring and continue playback. The client device is an iPhone (iOS 16.2). There is a video accessible from an "azure" CDN and a video accessible from an "edge" CDN. I want the player, which is playing the video from the azure CDN, to switch to the edge CDN. This is the manifest received by the player: #EXTM3U #EXT-X-CONTENT-STEERING:SERVER-URI="https://example.com/content-steering?pathwaycloning=true",PATHWAY-ID="azure" #EXT-X-STREAM-INF:BANDWIDTH=5605600,RESOLUTION=416x240,CODECS="avc1.64001e,mp4a.40.2",PATHWAY-ID="azure" https://azure.com/contentsteering/stream_0/stream.m3u8 This is the steering manifest received by the player (every 10s, as specified by TTL): {     "VERSION": 1,     "TTL": 10,     "RELOAD-URI": "https://example.com/content-steering?pathwaycloning=true",     "PATHWAY-PRIORITY": [         "edge",         "azure",         "aws"     ],     "PATHWAY-CLONES": [         {             "BASE-ID": "azure",             "ID": "edge",             "URI-REPLACEMENT": {                 "HOST": "edge.com"             }         }     ] } I would expect the player to request the media files (stream.m3u8, data00.ts, data01.ts...) at https://edge.com/contentsteering/stream_0/. It doesn't, however, and instead I get the error specified in bold above. Any idea what is wrong with my steering manifest?
Replies
2
Boosts
0
Views
1k
Activity
Dec ’22
Error Downloading FairPlay content using AVAggregateDownloadTask
During intermittent download attempts or deleting the existing download and retrying itm getting the following error: The operation couldn’t be completed. (CoreMediaErrorDomain error -12640.) Error Domain=CoreMediaErrorDomain Code=-12640 "(null)" UserInfo={_NSURLErrorRelatedURLSessionTaskErrorKey=(\n    "BackgroundAVAssetDownloadTask <6476CB53-96B1-4AE6-88C3-EFDA3FC47F2F>.<2>"\n), _NSURLErrorFailingURLSessionTaskErrorKey=BackgroundAVAssetDownloadTask <6476CB53-96B1-4AE6-88C3-EFDA3FC47F2F>.<2>} The method which throws the error: func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) While downloading the content we prefetch the persistent key using AVContentKeySession and save that locally. Once we got the key successfully we start the download using AVAggregateDownloadTask. Hence we are not getting any issue in obtaining key or with the key exipry. Issue comes only at download attempt of that content. Background History of the issue: This issue is a follow up of a previous major issue, which we understood is an encoding issue for fairplay content. The issue was occuring on downloading of the highest resolution of the content either if we select or let the aggregate task pick the hgihest by default on its own. We used to get the following error code in response of download attempt which always fails: (CoreMediaErrorDomain error -12660 - HTTP 403: Forbidden) Note: We have also managed session our streams to upto 1 minute if the attempt to play same link it will result in failure to access stream. We fixed the issue by reducing the hls file size from backend encoding. Now we are getting this follow up issue afterwards. The problem is we are not able to get much information about the error code anywhere on the internet or documentation and not much help on forums as well. Generally people are getting this error at the time of key retrieval process. But we are getting via AVContentKeySession properly beforehand here and error coming only on download attempt of the content intermittently.
Replies
0
Boosts
2
Views
1.6k
Activity
Dec ’22
developer
When WKWebView uses getUserMedia, the following authorization prompt will pop up every time you exit the app (as shown below). How to solve this problem? thank you.(https://obs-ogt.obs.cn-east-3.myhuaweicloud.com:443/tinymce/1672364537956-%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20221230094106.png)
Replies
0
Boosts
0
Views
733
Activity
Dec ’22