diff --git a/go.mod b/go.mod index cc9965081c5..19e0b85fa01 100644 --- a/go.mod +++ b/go.mod @@ -6,9 +6,9 @@ require ( code.cloudfoundry.org/bytefmt v0.0.0 github.com/abema/go-mp4 v0.13.0 github.com/alecthomas/kong v0.8.0 - github.com/bluenviron/gohlslib v1.0.1 - github.com/bluenviron/gortsplib/v4 v4.0.0-20230830092337-fc0c24278931 - github.com/bluenviron/mediacommon v1.0.1 + github.com/bluenviron/gohlslib v1.0.2 + github.com/bluenviron/gortsplib/v4 v4.0.0 + github.com/bluenviron/mediacommon v1.1.0 github.com/datarhei/gosrt v0.5.4 github.com/fsnotify/fsnotify v1.6.0 github.com/gin-gonic/gin v1.9.1 diff --git a/go.sum b/go.sum index bee5e7c4766..8efc02d5256 100644 --- a/go.sum +++ b/go.sum @@ -12,12 +12,12 @@ github.com/asticode/go-astits v1.13.0 h1:XOgkaadfZODnyZRR5Y0/DWkA9vrkLLPLeeOvDwf github.com/asticode/go-astits v1.13.0/go.mod h1:QSHmknZ51pf6KJdHKZHJTLlMegIrhega3LPWz3ND/iI= github.com/benburkert/openpgp v0.0.0-20160410205803-c2471f86866c h1:8XZeJrs4+ZYhJeJ2aZxADI2tGADS15AzIF8MQ8XAhT4= github.com/benburkert/openpgp v0.0.0-20160410205803-c2471f86866c/go.mod h1:x1vxHcL/9AVzuk5HOloOEPrtJY0MaalYr78afXZ+pWI= -github.com/bluenviron/gohlslib v1.0.1 h1:Qbn3+kK2WCbbXQAzdlSLXF6xZph8WaAddrTrAxjx+1A= -github.com/bluenviron/gohlslib v1.0.1/go.mod h1:BZP9wcm7jdu+igbw5nFj6ASjILm3c6DLEilJlHNzSWc= -github.com/bluenviron/gortsplib/v4 v4.0.0-20230830092337-fc0c24278931 h1:RTe3MbA8zZ3nL5OTZM5R005acUuCwW3RN0V/F3AUI9U= -github.com/bluenviron/gortsplib/v4 v4.0.0-20230830092337-fc0c24278931/go.mod h1:UU9EkvmpvyXdRIDBBUK7zdFt2LsdnV4iz9cHP3JaB8s= -github.com/bluenviron/mediacommon v1.0.1 h1:+Wiy0OmNxnIqJQ9MUcvldbTtJRmdjoxeyeSdDkSCExI= -github.com/bluenviron/mediacommon v1.0.1/go.mod h1:/vlOVSebDwzdRtQONOKLua0fOSJg1tUDHpP+h9a0uqM= +github.com/bluenviron/gohlslib v1.0.2 h1:LDA/CubL525e9rLWw+G/9GbFS6iXwozmOg8KJBT4qF4= +github.com/bluenviron/gohlslib v1.0.2/go.mod h1:oam0wsI2XqcHLTG6NM8HRvxAQsa3hIA0MLRiTOE7CB8= +github.com/bluenviron/gortsplib/v4 v4.0.0 h1:aoJTqDGQnHiw1NjRwUrcFPbtpZfbUrrkSN8UhXCMuHk= +github.com/bluenviron/gortsplib/v4 v4.0.0/go.mod h1:TeipG388/t0f8SGqOz5yK21jV7BdqlJdOA8wY3C1fDs= +github.com/bluenviron/mediacommon v1.1.0 h1:04PQsjITYRerO81Fwc9B1wQqXnvZeLhX74MccIATeRA= +github.com/bluenviron/mediacommon v1.1.0/go.mod h1:/vlOVSebDwzdRtQONOKLua0fOSJg1tUDHpP+h9a0uqM= github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s= github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= diff --git a/internal/core/path_manager_test.go b/internal/core/path_manager_test.go index 1840e58479e..53c63935aac 100644 --- a/internal/core/path_manager_test.go +++ b/internal/core/path_manager_test.go @@ -117,7 +117,11 @@ func main() { Type: description.MediaTypeVideo, Formats: []format.Format{&format.H264{ PayloadTyp: 96, - SPS: []byte{0x01, 0x02, 0x03, 0x04}, + SPS: []byte{ + 0x67, 0x42, 0xc0, 0x28, 0xd9, 0x00, 0x78, 0x02, + 0x27, 0xe5, 0x84, 0x00, 0x00, 0x03, 0x00, 0x04, + 0x00, 0x00, 0x03, 0x00, 0xf0, 0x3c, 0x60, 0xc9, 0x20, + }, PPS: []byte{0x01, 0x02, 0x03, 0x04}, PacketizationMode: 1, }},