Change codec channels from uint16 to uint8

This commit is contained in:
Alex X
2025-03-25 15:31:43 +03:00
parent f535595d1f
commit e1342f06b7
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func Open(r io.Reader) (*Producer, error) {
codec.Name = core.CodecPCMU
}
codec.Channels = uint16(data[2])
codec.Channels = data[2]
codec.ClockRate = binary.LittleEndian.Uint32(data[4:])
}
}