mirror of https://github.com/jetkvm/kvm.git
Fix: goimports
This commit is contained in:
parent
638d08cdc5
commit
a208715cc6
6
web.go
6
web.go
|
@ -173,11 +173,11 @@ func setupRouter() *gin.Engine {
|
|||
return
|
||||
}
|
||||
audio.SetAudioMuted(req.Muted)
|
||||
|
||||
|
||||
// Broadcast audio mute state change via WebSocket
|
||||
broadcaster := GetAudioEventBroadcaster()
|
||||
broadcaster.BroadcastAudioMuteChanged(req.Muted)
|
||||
|
||||
|
||||
c.JSON(200, gin.H{"muted": req.Muted})
|
||||
})
|
||||
|
||||
|
@ -314,7 +314,7 @@ func setupRouter() *gin.Engine {
|
|||
// Broadcast microphone state change via WebSocket
|
||||
broadcaster := GetAudioEventBroadcaster()
|
||||
broadcaster.BroadcastMicrophoneStateChanged(true, true)
|
||||
|
||||
|
||||
c.JSON(200, gin.H{
|
||||
"status": "started",
|
||||
"running": currentSession.AudioInputManager.IsRunning(),
|
||||
|
|
Loading…
Reference in New Issue