commit 875229a3c98b4d1df67aa2fc9bb8acba38ae37f4
parent 1c6017bc874091eb87e3509f767454b5f5c5b168
Author: Oliver Lowe <o@olowe.co>
Date: Fri, 31 May 2024 18:42:53 +1000
cmcd: correct key for string representation of Status
Just came from a misreading of the spec.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmcd/encode.go b/cmcd/encode.go
@@ -61,7 +61,7 @@ func (s Status) Encode() string {
attrs = append(attrs, "bs")
}
if s.MaxThroughput > 0 {
- attrs = append(attrs, fmt.Sprintf("mtp=%d", s.MaxThroughput))
+ attrs = append(attrs, fmt.Sprintf("rtp=%d", s.MaxThroughput))
}
return strings.Join(attrs, ",")
}