iOS video streaming and storing on device afterwards

前端 未结 5 830
情书的邮戳
情书的邮戳 2020-12-23 17:27

So far I know how to stream a video and how to download it and afterwards stream it, but here\'s the tricky bit: streaming it once, storing it on the device and in the futur

5条回答
  •  失恋的感觉
    2020-12-23 17:39

    I know what you want to achieve, I only got a workaround. I had to implement the same behavior and ended up with streaming the video from the server and downloading it next to streaming. Next time the user tries to stream the video determine whether it was downloaded to disk, otherwise stream it again. In a normal case the video was downloaded properly and could be reviewed offline.

提交回复
热议问题