K
K
karpo5182018-08-27 02:24:22
Nginx
karpo518, 2018-08-27 02:24:22

How to set up distribution of mp4 files on the site via HLS via nginx-vod-module?

Video files have a url like https://site.com/wp-content/uploads/2018/08/video3... and are currently served by nginx via the http_mp4_module using protection via the http_secure_link_module module.
How to configure the return of such files via the hls protocol using the nginx-vod-module? It is desirable with similar protection against hot link. Please provide an example config
Additional question. Will replacing mp4 with hls reduce traffic and increase channel bandwidth precisely due to the fact that videos that have not been watched to the end will only be partially downloaded?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Udovichenko, 2018-08-27
@Aquary

I won't tell you about the settings - we have our own software server for this, but about an additional question - it depends a lot on the behavior of your player. In some players, MP4 will not be downloaded in its entirety until the loss reaches it, while in others, the video will be downloaded entirely via HLS, despite the chunks. So only tests will show what is best for your case.

A
alexdora, 2018-08-27
@alexdora

For the last part of the question, the savings will be scanty.
There's the same mp4 container.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question