Merge of r4298:

Fixed flv header to match specification.

Used "\x5" in 5th byte to claim presence of both audio and video.  Used
previous tag size 0 in the beginning of the flv body (bytes 10 .. 13) as
required by specification (see http://www.adobe.com/devnet/f4v.html).

Patch by Piotr Sikora.
This commit is contained in:
Maxim Dounin 2011-12-14 15:30:02 +00:00
parent de0d84a82a
commit 6b14514f95
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ static ngx_command_t ngx_http_flv_commands[] = {
};
static u_char ngx_flv_header[] = "FLV\x1\x1\0\0\0\x9\0\0\0\x9";
static u_char ngx_flv_header[] = "FLV\x1\x5\0\0\0\x9\0\0\0\0";
static ngx_http_module_t ngx_http_flv_module_ctx = {