add server publish checking

This commit is contained in:
Muaz Ahmad 2023-08-17 14:58:07 +05:00
parent 579bf2e195
commit 10089f4f25

View file

@ -49,5 +49,8 @@ func handle_conn(conn net.Conn, stream_live *bool) {
if !CreateStream(chunk_wrapper) { if !CreateStream(chunk_wrapper) {
return return
} }
if !PublishAsKey(chunk_wrapper) {
return
}
*stream_live = false *stream_live = false
} }