Merge pull request #2019 from binary-person/patch-1

fix typo for inability to set channels for backchannel
This commit is contained in:
Alex X
2026-01-17 19:06:00 +03:00
committed by GitHub
+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