HLSCachingReverseProxyServer icon indicating copy to clipboard operation
HLSCachingReverseProxyServer copied to clipboard

when app is killed and then restart the caching is becoming invalid, how to solve this problem ?

Open Yinjianhua472392556 opened this issue 5 years ago • 3 comments

when app is killed and then restart the caching is becoming invalid, how to solve this problem ?

Yinjianhua472392556 avatar Nov 12 '20 02:11 Yinjianhua472392556

Did you use disk cache?

devxoul avatar Dec 02 '20 01:12 devxoul

@Yinjianhua472392556 How to initialise HLSCachingReverseProxyServer Object ?

HLSCachingReverseProxyServer(webServer: <#GCDWebServer#>, urlSession: <#URLSession#>, cache: <#PINCaching#>)

how to pass webServer, urlSession, cache object in init method

jitesh-sharma avatar Feb 26 '21 13:02 jitesh-sharma

@Yinjianhua472392556 you can make a breakpoint at private func addSegmentHandler and see what issue you got.

Bomiishere avatar Jul 30 '21 07:07 Bomiishere