Welcome! Log In Create A New Profile

Advanced

What is the difference bewteen nginx against mp4 modules

September 04, 2019 10:48PM
Hi
What is the difference between the mp4 module and the slice module for streaming mp4 videos in nginx? Both seem to work on streaming mp4 files but I can't really see the difference.

On another aspect, the slice module seems to work nicely with the caching. Where slices from cache module are stored and served to the users. Can the same be done to the mp4 module i.e., to have responses from the mp4 module cached ?

Attached is a code snipped for caching the output from the slice module.

location / {
slice 1m;
proxy_cache cache;
proxy_cache_key $uri$is_args$args$slice_range;
proxy_set_header Range $slice_range;
proxy_cache_valid 200 206 1h;
proxy_pass http://localhost:8000;

}

thx
Subject Author Posted

What is the difference bewteen nginx against mp4 modules

oah433 September 04, 2019 10:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready