fairplay

Can WKWebView play fairplay/drm protected videos?

半世苍凉 提交于 2021-02-11 08:26:19
问题 I want to play fairplay videos / DRM protected videos in WKWebView but couldn't find any solution except for playing them in AVPlayer or in SFSafariViewControler . Is there any way to do so or if not, is there any confirmation from Apple that WKWebView can't play those videos? 回答1: There was a bug fix to enable EME on WKWebView so it should be working now - https://bugs.webkit.org/show_bug.cgi?id=197964 来源: https://stackoverflow.com/questions/55896995/can-wkwebview-play-fairplay-drm-protected

Can WKWebView play fairplay/drm protected videos?

你说的曾经没有我的故事 提交于 2021-02-11 08:20:57
问题 I want to play fairplay videos / DRM protected videos in WKWebView but couldn't find any solution except for playing them in AVPlayer or in SFSafariViewControler . Is there any way to do so or if not, is there any confirmation from Apple that WKWebView can't play those videos? 回答1: There was a bug fix to enable EME on WKWebView so it should be working now - https://bugs.webkit.org/show_bug.cgi?id=197964 来源: https://stackoverflow.com/questions/55896995/can-wkwebview-play-fairplay-drm-protected

Can WKWebView play fairplay/drm protected videos?

老子叫甜甜 提交于 2021-02-11 08:20:47
问题 I want to play fairplay videos / DRM protected videos in WKWebView but couldn't find any solution except for playing them in AVPlayer or in SFSafariViewControler . Is there any way to do so or if not, is there any confirmation from Apple that WKWebView can't play those videos? 回答1: There was a bug fix to enable EME on WKWebView so it should be working now - https://bugs.webkit.org/show_bug.cgi?id=197964 来源: https://stackoverflow.com/questions/55896995/can-wkwebview-play-fairplay-drm-protected

Failed to get video thumbnail from AVPlayer using Fairplay HLS

只愿长相守 提交于 2020-08-06 06:27:53
问题 I'm trying to build a custom progress bar for a video player app in tvOS, and would like to show thumbnails of the video while the user scans the video. I'm using AVPlayer and Fairplay HLS to play remote video files. I've tried to do this using 2 methods. One with AVAssetImageGenerator 's copyCGImage , and the other with AVPlayerItemVideoOutput 's copyPixelBuffer method. Both return nil. When I tried with a local video file, the first method worked. Method 1: let imageGenerator =

What is the reccomended way to use HLS and DASH + DRM in a player?

℡╲_俬逩灬. 提交于 2020-07-10 07:34:39
问题 I'm using the VideoJS player and have a CMAF video so I am using HLS and DASH. I'm also using all 3 types of DRM. Fairplay for hls, widevine and playready for dash. My question is should I include both hls and dash sources in the player and let the player decide which one to play? Or do I detect the browser and only insert the correct url based on that? Also DRM is the same. Can I just add all DRM to the player? Or should I only add the one that applies? 回答1: The use of HLS vs DASH is

Offline HLS Fairplay playback error when the app is closed, code 16227

两盒软妹~` 提交于 2019-12-24 14:23:34
问题 I'm implementing Offline Playback with HLS Fairplay following the demo in the FairPlay Streaming Server SDK v4.0.1 that uses AVContentSessionKey. I download three contents, each content is downloaded and persisted correctly, both the .movpkg and its content key on the documents directory, when I turn off the WIFI these three contents downloaded plays correctly without any problems, before playing Im using this code: let urlAsset = element.urlAsset! ContentKeyManager.shared.contentKeySession

Download performance of AVAssetDownloadTask

余生颓废 提交于 2019-12-12 19:13:25
问题 I'm using AVAssetDownloadTask to download some FairPlay-encrypted audio. As per guidelines, the audio is split up into small chunks to allow switching between bitrates during streaming. Our chunks are about 6 seconds each, which means less than 100 kb in size. The download speed of this process is pretty bad. I've seen speeds between 85 KB/s and 250 KB/s. This is on a connection where when I download a new Xcode beta, I get several megabytes per second. I'm guessing that the slow speed is due

about Airplay Mirroring… things after fp-setup [closed]

喜你入骨 提交于 2019-12-05 02:27:08
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . My project is to grab decrypted Airplay Mirrorred h.264 screen data from my Android device. Since I know nothing about AES-like things... So I skipped that step with hard coded data, omnipeek'ed from, between My iPad and AppleTV. Started with the "Unofficial Airplay Protocol".

about Airplay Mirroring… things after fp-setup [closed]

纵然是瞬间 提交于 2019-12-03 21:03:15
Closed . This question needs to be more focused. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 5 years ago . My project is to grab decrypted Airplay Mirrorred h.264 screen data from my Android device. Since I know nothing about AES-like things... So I skipped that step with hard coded data, omnipeek'ed from, between My iPad and AppleTV. Started with the "Unofficial Airplay Protocol" . Resembled the sequence, and I've questioned from my iPad with "fp-setup". It was very

Decoding AirPlay Mirroring Protocol

╄→尐↘猪︶ㄣ 提交于 2019-12-03 05:47:10
问题 I want my app to mirror the display of my iPad 2 to my Mac. I have published the _airplay._tcp service and am listening on the port 7100 . The app shows in the AirPlay menu and the Mirroring option is also there. Video and audio streaming work perfectly. But I don't know how to decode the FairPlay encryption ( POST /fp-setup ) to support AirPlay mirroring. I have taken reference from http://www.aorensoftware.com/blog/2011/08/20/exploring-airplay-mirroring-internals/. If anyone has any idea on