mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-20 09:51:08 +02:00
removed Reset status as before
This commit is contained in:
parent
1a053d02a6
commit
e19ff641b0
|
@ -1040,13 +1040,9 @@ ngx_rtmp_live_play(ngx_rtmp_session_t *s, ngx_rtmp_play_t *v)
|
|||
|
||||
ctx->silent = v->silent;
|
||||
|
||||
if (!ctx->silent) {
|
||||
ngx_rtmp_send_status(s, "NetStream.Play.Reset",
|
||||
"status", "Playing and resetting");
|
||||
if (!lacf->play_restart) {
|
||||
ngx_rtmp_send_status(s, "NetStream.Play.Start",
|
||||
"status", "Start live");
|
||||
}
|
||||
if (!ctx->silent && !lacf->play_restart) {
|
||||
ngx_rtmp_send_status(s, "NetStream.Play.Start",
|
||||
"status", "Start live");
|
||||
}
|
||||
|
||||
next:
|
||||
|
|
Loading…
Reference in a new issue