ChangbaDevs / KTVHTTPCache

A powerful media cache framework.
MIT License
2.35k stars 435 forks source link

m3u8设置防盗链无法播放 #138

Closed LeeFengHY closed 7 months ago

LeeFengHY commented 4 years ago

NSMutableDictionary *header = [NSMutableDictionary new]; [header setValue:@"http://www.qq.com" forKey:@"referer"]; [KTVHTTPCache downloadSetAdditionalHeaders:header];

使用原生AVPlayer设置后可以播放,现在因为要做边播边放选择使用KTVHTTPCache,但是设置后无法播放

libobjc commented 7 months ago

https://github.com/ChangbaDevs/KTVHTTPCache/issues/170