Checkpoint audio-only Skald fork work

This commit is contained in:
Storm Dragon
2026-05-18 13:06:57 -04:00
parent a8ada950d5
commit 965347cad4
48 changed files with 1080 additions and 3651 deletions
+4 -4
View File
@@ -8,7 +8,7 @@ import (
"git.stormux.org/storm/skald/hall"
)
type GroupStats struct {
type HallStats struct {
Name string `json:"name"`
Clients []*Client `json:"clients,omitempty"`
}
@@ -58,17 +58,17 @@ type Track struct {
Jitter Duration `json:"jitter,omitempty"`
}
func GetGroups() []GroupStats {
func GetHalls() []HallStats {
names := hall.GetNames()
gs := make([]GroupStats, 0, len(names))
gs := make([]HallStats, 0, len(names))
for _, name := range names {
g := hall.Get(name)
if g == nil {
continue
}
clients := g.GetClients(nil)
stats := GroupStats{
stats := HallStats{
Name: name,
Clients: make([]*Client, 0, len(clients)),
}