How to implement Video Seek support with an embedded HTTP server on iOS?
问题 I have a client iOS application that uses GCDWebServer to serve images and videos stored in the NSSearchPathDirectory.DocumentDirectory folder of the app on my device. Upon app startup, I start an instance of GCDWebServer and add a file response handler for my requests: self.addDefaultHandlerForMethod("GET", requestClass: GCDWebServerFileRequest.self) { request in return GCDWebServerFileResponse(file: self.filePathForResponse(request.URL)) } I can verify that while the app is running I can