Commit 8772040
committed
[fix] fixed bad status of stop request for record.
If record is set as manual and nginx is run in multi-processes mode,
record requests may be distributed to a non-publisher.
Previously, if stop request for record was sent to a non-publisher,
ngx_rtmp_record_init was called without checking if record context
was already initialized, that led to a bad status (204) replied.1 parent 93496d0 commit 8772040
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
615 | 619 | | |
616 | 620 | | |
617 | 621 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1171 | 1171 | | |
1172 | 1172 | | |
1173 | 1173 | | |
1174 | | - | |
| 1174 | + | |
1175 | 1175 | | |
1176 | 1176 | | |
1177 | 1177 | | |
| |||
0 commit comments