Skip to content

Commit c4c77b9

Browse files
authored
Merge pull request AlexxIT#2019 from binary-person/patch-1
fix typo for inability to set channels for backchannel
2 parents b9f28be + 29b368f commit c4c77b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/core/codec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func ParseCodecString(s string) *Codec {
277277
codec.ClockRate = uint32(Atoi(ss[1]))
278278
}
279279
if len(ss) >= 3 {
280-
codec.Channels = uint8(Atoi(ss[1]))
280+
codec.Channels = uint8(Atoi(ss[2]))
281281
}
282282

283283
return &codec

0 commit comments

Comments
 (0)