xin

mp4_max_buffer_size

Bounds the trusted size of a parsed moov atom.

Syntaxmp4_max_buffer_size size;
Contextshttpserverlocation
Defaultmp4_max_buffer_size 10m;

Behavior

A moov atom larger than this is rejected with 500 before any of its contents are trusted.

Example

mp4_max_buffer_size 20m;

Related directives

mp4