GCDWebServer icon indicating copy to clipboard operation
GCDWebServer copied to clipboard

how to play remote mp4 file with avplayer via GCDwebServer

Open ronaldoandjames opened this issue 4 years ago • 4 comments
trafficstars

Hi swisspol: I have a url which is a mp4 file,such as http://xxxx.test.mp4 .but it is encrypted with AES. so i cant play it directly with avplayer. So I want to use GCDwebServer to reroute it and decode the data. I searched many times,the closest answer is using GCDWebServerStreamedResponse something . but there is no full demo, only part of codes.I still cant solve it. could you give me some tips please. thank you very much!

ronaldoandjames avatar Nov 21 '20 13:11 ronaldoandjames

same question

snowinszu avatar May 30 '21 09:05 snowinszu

+1

maximkrouk avatar Jun 01 '21 19:06 maximkrouk

I am also stucked here. But my file is of type .m3u8 not mp4

DeepashreeBallodi avatar Aug 18 '21 11:08 DeepashreeBallodi

I am also stucked here. But my file is of type .m3u8 not mp4

I use something like this https://gist.github.com/maximkrouk/1b46995ce06bfc9a5632967d54c5c3ea

(Almost the same as this https://github.com/StyleShare/HLSCachingReverseProxyServer, but I use my own abstraction for caching)

maximkrouk avatar Aug 18 '21 13:08 maximkrouk