disabled HLS for auto-pushed connection

This commit is contained in:
Roman Arutyunyan 2012-07-22 09:48:25 +04:00
parent aca6162ebc
commit 5070ff151a

View file

@ -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);