simplify client-record-format-mpeg4audio (#709)

This commit is contained in:
Alessandro Ros
2025-02-22 18:27:22 +01:00
committed by GitHub
parent 90cac184c9
commit 17ee46e238
14 changed files with 27 additions and 84 deletions

View File

@@ -21,7 +21,7 @@ import (
// 4. write RTP packets to the server
// This example requires the FFmpeg libraries, that can be installed with this command:
// apt install -y libavcodec-dev libswresample-dev gcc pkg-config
// apt install -y libavcodec-dev gcc pkg-config
func multiplyAndDivide(v, m, d int64) int64 {
secs := v / d
@@ -45,7 +45,7 @@ func main() {
Config: &mpeg4audio.Config{
Type: mpeg4audio.ObjectTypeAACLC,
SampleRate: 48000,
ChannelCount: 2,
ChannelCount: 1,
},
SizeLength: 13,
IndexLength: 3,