Sil*_*ent 7 objective-c ios ios9
我正在使用Apple提供的AVARLDelegateDemo示例,它假设流式传输m3u8视频.我的Stream是HSL HTTPBasicAuth用户和密码.我补充说:
- (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForResponseToAuthenticationChallenge:(NSURLAuthenticationChallenge *)authenticationChallenge
Run Code Online (Sandbox Code Playgroud)
在APLCustomDelegate上,当使用视频显示的模拟器并调用shouldWaitForResponseToAuthenticationChallenge时,它似乎工作得很好.
问题是,当我将它部署到设备时,它显示401错误,并且在进行一些测试后看起来似乎没有调用shouldWaitForResponseToAuthenticationChallenge
顺便说一句:我允许任意负载:是的
| 归档时间: |
|
| 查看次数: |
264 次 |
| 最近记录: |