mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-19 09:41:07 +02:00
adjusted AMF arg sizes to reasonable values
This commit is contained in:
parent
18d8526793
commit
cff6a4aca7
5
TODO
5
TODO
|
@ -1,5 +1,4 @@
|
|||
- add HTTP callbacks for all cmd calls
|
||||
|
||||
- adjust AMF field sizes to reasonable values
|
||||
|
||||
- add support for flv file streaming
|
||||
|
||||
|
@ -13,3 +12,5 @@
|
|||
|
||||
- play only streams being published
|
||||
|
||||
- try recv_chain instead of recv in ngx_rtmp_handler
|
||||
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
/* TODO: improve string sizes */
|
||||
|
||||
typedef struct {
|
||||
u_char app[1024];
|
||||
u_char flashver[1024];
|
||||
u_char swf_url[1024];
|
||||
u_char tc_url[1024];
|
||||
u_char app[128];
|
||||
u_char flashver[32];
|
||||
u_char swf_url[256];
|
||||
u_char tc_url[256];
|
||||
double acodecs;
|
||||
double vcodecs;
|
||||
u_char page_url[1024];
|
||||
u_char page_url[256];
|
||||
} ngx_rtmp_connect_t;
|
||||
|
||||
|
||||
|
@ -46,7 +46,7 @@ typedef struct {
|
|||
|
||||
|
||||
typedef struct {
|
||||
u_char name[1024];
|
||||
u_char name[256];
|
||||
} ngx_rtmp_fcpublish_t;
|
||||
|
||||
|
||||
|
@ -56,7 +56,7 @@ typedef ngx_rtmp_fcpublish_t ngx_rtmp_fcunsubscribe_t;
|
|||
|
||||
|
||||
typedef struct {
|
||||
u_char name[1024];
|
||||
u_char name[256];
|
||||
double start;
|
||||
double duration;
|
||||
int reset;
|
||||
|
|
Loading…
Reference in a new issue