fix: 完善直播结束通知与 WebSocket 连接
This commit is contained in:
@@ -172,7 +172,7 @@ func NewRTMPServer(rtmpPort string) *RTMPServer {
|
||||
monitor.Warnf("Failed to mark room inactive room_id=%s: %v", roomID, err)
|
||||
}
|
||||
}
|
||||
chat.MainHub.ClearRoomHistory(roomID)
|
||||
chat.MainHub.NotifyStreamEnded(roomID)
|
||||
monitor.Infof("Publishing ended for room_id=%s", roomID)
|
||||
} else {
|
||||
monitor.Infof("Variant publishing ended for room_id=%s path=%s", roomID, channelPath)
|
||||
|
||||
Reference in New Issue
Block a user