mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2026-04-22 23:57:20 +08:00
Add wyoming module
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ func ParseCodecString(s string) *Codec {
|
||||
codec.ClockRate = uint32(Atoi(ss[1]))
|
||||
}
|
||||
if len(ss) >= 3 {
|
||||
codec.Channels = uint16(Atoi(ss[1]))
|
||||
codec.Channels = uint8(Atoi(ss[1]))
|
||||
}
|
||||
|
||||
return &codec
|
||||
|
||||
Reference in New Issue
Block a user