mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-11 14:51:08 +02:00
added checks for active flag to prevent successive writev fails
This commit is contained in:
parent
d641811545
commit
f925fd0bc6
10
TODO
10
TODO
|
@ -1,8 +1,8 @@
|
|||
- fix time wrapping problem (% 0x00ffffff)
|
||||
|
||||
- add support of flv file streaming
|
||||
|
||||
- compile in release configuration
|
||||
|
||||
- add RTMP authorization
|
||||
- add RTMP authorization (SecureToken)
|
||||
|
||||
- remove macros hell from ngx_rtmp_send.c
|
||||
|
||||
|
@ -10,7 +10,3 @@
|
|||
|
||||
- shortcuts for big-endian copy
|
||||
|
||||
- implement loc confs (=fms apps)
|
||||
loc options:
|
||||
- broadcast/file
|
||||
- HTTP callbacks on invoke calls
|
||||
|
|
|
@ -1046,7 +1046,9 @@ ngx_rtmp_send_message(ngx_rtmp_session_t *s, ngx_chain_t *out,
|
|||
qbytes, nbytes, qbufs, nbufs, priority,
|
||||
c->write->ready, c->write->active);
|
||||
|
||||
ngx_rtmp_send(c->write);
|
||||
if (!c->write->active) {
|
||||
ngx_rtmp_send(c->write);
|
||||
}
|
||||
|
||||
return c->destroyed ? NGX_ERROR : NGX_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue