mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-29 00:18:58 +02:00
added old-style handshake on missing digest
This commit is contained in:
parent
1e4c1af565
commit
7d895d54a6
|
@ -310,7 +310,7 @@ ngx_rtmp_handshake_response(ngx_rtmp_session_t *s)
|
||||||
if (offs == NGX_ERROR) {
|
if (offs == NGX_ERROR) {
|
||||||
ngx_log_error(NGX_LOG_INFO, s->connection->log, 0,
|
ngx_log_error(NGX_LOG_INFO, s->connection->log, 0,
|
||||||
"RTMP digest not found");
|
"RTMP digest not found");
|
||||||
return NGX_ERROR;
|
return ngx_rtmp_old_handshake_response(s);
|
||||||
}
|
}
|
||||||
b->pos += offs;
|
b->pos += offs;
|
||||||
b->last = b->pos + NGX_RTMP_KEYLEN;
|
b->last = b->pos + NGX_RTMP_KEYLEN;
|
||||||
|
|
Loading…
Reference in a new issue