mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-29 08:18:58 +02:00
disabled HLS for auto-pushed connection
This commit is contained in:
parent
aca6162ebc
commit
5070ff151a
|
@ -741,6 +741,11 @@ ngx_rtmp_hls_publish(ngx_rtmp_session_t *s, ngx_rtmp_publish_t *v)
|
|||
if (hacf == NULL || !hacf->hls || hacf->path.len == 0) {
|
||||
goto next;
|
||||
}
|
||||
|
||||
if (s->auto_pushed) {
|
||||
goto next;
|
||||
}
|
||||
|
||||
ngx_log_debug2(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,
|
||||
"hls: publish: name='%s' type='%s'",
|
||||
v->name, v->type);
|
||||
|
|
Loading…
Reference in a new issue