永远不会为DASH DRM资产调用updateLicenseRequestInfo

时间:2017-07-05 18:33:39

标签: chromecast google-cast

我看到func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { if let con = controller.fetchedObjects, con.count > 0 { let obj = con[indexPath.row] performSegue(withIdentifier: "edit", sender: obj) } } override func prepare(for segue: UIStoryboardSegue, sender: Any?) { if segue.identifier == "edit" { if let des = segue.destination as? EditVC { if let obj = sender as? Student { des.preStudent = obj } } } } updateManifestRequestInfo被调用,但我在发送标头时遇到问题。我从未看到调用的许可URL,并且永远不会调用updateSegmentRequestInfo

是否有DASH DRM受保护资产的代码示例?文档非常有限。

updateLicenseRequestInfo

1 个答案:

答案 0 :(得分:0)

对于DRM,您需要一个自定义接收器,如果您使用的是媒体播放器库,则需要覆盖一些方法以提供必要的DRM信息:https://developers.google.com/cast/docs/player#drm-playreadywidevine