rtmp: support additional Enhanced-RTMP features (#3685) (#4088)

new features:
* support publishing Opus and AC-3 tracks
* support publishing more than 2 tracks. This is compatible with OBS multitrack video and OBS VOD audio track
This commit is contained in:
Alessandro Ros 2025-01-02 12:44:01 +01:00 committed by GitHub
parent 6425bd5a8e
commit 8cbbbc05c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
82 changed files with 2893 additions and 1022 deletions

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\f\b0000\x90mp4a0000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x18\b0000\x90Opus0000000000000000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x05\t0000\x810000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\a\b0000\x94mp4a00")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\v\b0000\x910000000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x02\b0000\x900")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\b\t0000\xa6\x00000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x05\t0000\x81av01")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\b\b0000\x90Opus000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x03\t0000\x9100")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x05\t0000\x81avc1")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x18\b0000\x9000000000000000000000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\b\t0000\xb30000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\b\t0000\xa6\x03000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\n\b0000\x95\x0f00000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x18\b0000\x90OpusOpusHead00000000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\b\t0000\x940000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\n\b0000\x95\x0400000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\v\b0000\x94Opus\x0000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\a\b0000\x94mp4a\x010")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\n\b0000\x95\x0100000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\b\t0000\xf6\x01000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\n\b0000\x95000000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\b\t0000\xf6\x02000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\a\b0000\x94mp4a\x020")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x05\b0000\x920000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x05\t0000\xa30000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\n\b0000\x92000000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x05\t0000\xa60000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\b\t0000\xf6\x04000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\a\b0000\x94000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x02\b0000\x950")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x05\t0000\x840000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\n\b0000\x95\x0200000000")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x03\b0000\x9100")

View file

@ -0,0 +1,2 @@
go test fuzz v1
[]byte("0000\x00\x00\x03\b0000\x9400")