Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4298 - trunk/src/http/modules

Anonymous User
November 18, 2011 09:42AM
Author: mdounin
Date: 2011-11-18 14:41:01 +0000 (Fri, 18 Nov 2011)
New Revision: 4298

Log:
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.


Modified:
trunk/src/http/modules/ngx_http_flv_module.c

Modified: trunk/src/http/modules/ngx_http_flv_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_flv_module.c 2011-11-16 13:27:33 UTC (rev 4297)
+++ trunk/src/http/modules/ngx_http_flv_module.c 2011-11-18 14:41:01 UTC (rev 4298)
@@ -23,7 +23,7 @@
};


-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 = {

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4298 - trunk/src/http/modules

Anonymous User 1139 November 18, 2011 09:42AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 148
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready