Streaming an mp4 through a php file progressively

后端 未结 5 1547
无人及你
无人及你 2021-02-09 13:45

I\'m working on a more secure streaming method for our video player. Because each file requires special token authentication and also only allows each token to be loaded once, I

5条回答
  •  时光说笑
    2021-02-09 14:10

    I ran into a similar problem. Using stream_get_content($fp, $start) instead of fseek fixed the issue. I was able to get the video to stream fine on all browsers, and seeking (or skipping) throughout the video worked without a problem.

提交回复
热议问题