mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-22 02:57:51 +02:00
Add ability to restart broadcast
This commit is contained in:
parent
a5830dc440
commit
acc3c286a1
10 changed files with 60 additions and 27 deletions
|
@ -121,6 +121,9 @@ func (ws *WebSocketHandler) connectUpstream() {
|
|||
|
||||
ws.logger.Debug().Msgf("key up %d", payload.Key)
|
||||
}
|
||||
case webrtc.OP_RESTART_BROADCAST:
|
||||
ws.logger.Info().Msg("Restarting broadcast")
|
||||
ws.capture.Broadcast().GetRestart() <- true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue