Skip to Content
Mastering NGINX - Second Edition
book

Mastering NGINX - Second Edition

by Dimitri Aivaliotis
July 2016
Beginner
320 pages
6h 32m
English
Packt Publishing
Content preview from Mastering NGINX - Second Edition

Streaming media files

NGINX is capable of serving certain video media types. The flv and mp4 modules, included in the base distribution, can perform what is called pseudo-streaming. This means that NGINX will seek a certain location in the video file, as indicated by the start request parameter.

In order to use the pseudo-streaming capabilities, the corresponding module needs to be included at compile time: --with-http_flv_module for Flash Video (FLV) files and/or --with-http_mp4_module for H.264/AAC files. The following directives will then become available for configuration:

HTTP streaming directives

Explanation

flv

This directive activates the flv module for this location.

mp4

This directive activates the mp4 module for this location. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Nginx Essentials

Nginx Essentials

Valery Kholodkov, Valery I Kholodkov
NGINX Cookbook

NGINX Cookbook

Tim Butler
NGINX Cookbook

NGINX Cookbook

Derek DeJonghe
NGINX Cookbook

NGINX Cookbook

Derek DeJonghe

Publisher Resources

ISBN: 9781782173311