fix typo for inability to set channels for backchannel

This commit is contained in:
Simon Cheng
2026-01-04 18:45:03 -05:00
committed by GitHub
parent 4dae65a535
commit 3207f9e783
+1 -1
View File
@@ -277,7 +277,7 @@ func ParseCodecString(s string) *Codec {
codec.ClockRate = uint32(Atoi(ss[1]))
}
if len(ss) >= 3 {
codec.Channels = uint8(Atoi(ss[1]))
codec.Channels = uint8(Atoi(ss[2]))
}
return &codec