Open mkrn opened 3 years ago
Config:
application live { drop_idle_publisher 15s; idle_streams off; on_publish http://localhost/on_start; on_publish_done http://localhost/on_end; }
If stream key is already publishing module outputs: 2020/10/30 14:29:30 [error] 17218#0: *2049366 live: already publishing, client: xxx.xxx..xx.xxx, server: 0.0.0.0:1935
2020/10/30 14:29:30 [error] 17218#0: *2049366 live: already publishing, client: xxx.xxx..xx.xxx, server: 0.0.0.0:1935
However, on_publish callback still executed and if redirect returned, the stream is published to remote relay. Can it be avoided?
Config:
If stream key is already publishing module outputs:
2020/10/30 14:29:30 [error] 17218#0: *2049366 live: already publishing, client: xxx.xxx..xx.xxx, server: 0.0.0.0:1935
However, on_publish callback still executed and if redirect returned, the stream is published to remote relay. Can it be avoided?