Merge pull request #2019 from binary-person/patch-1
fix typo for inability to set channels for backchannel
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ func ParseCodecString(s string) *Codec {
|
|||||||
codec.ClockRate = uint32(Atoi(ss[1]))
|
codec.ClockRate = uint32(Atoi(ss[1]))
|
||||||
}
|
}
|
||||||
if len(ss) >= 3 {
|
if len(ss) >= 3 {
|
||||||
codec.Channels = uint8(Atoi(ss[1]))
|
codec.Channels = uint8(Atoi(ss[2]))
|
||||||
}
|
}
|
||||||
|
|
||||||
return &codec
|
return &codec
|
||||||
|
|||||||
Reference in New Issue
Block a user