mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
build(deps): bump github.com/bluenviron/mediacommon/v2 (#4975)
Bumps [github.com/bluenviron/mediacommon/v2](https://github.com/bluenviron/mediacommon) from 2.4.2-0.20250909112826-017d0bbe41db to 2.4.2. - [Commits](https://github.com/bluenviron/mediacommon/commits/v2.4.2) --- updated-dependencies: - dependency-name: github.com/bluenviron/mediacommon/v2 dependency-version: 2.4.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
35aceaa4a9
commit
ebd9eb6665
3 changed files with 44 additions and 10 deletions
|
|
@ -70,7 +70,27 @@ func TestFromStream(t *testing.T) {
|
|||
case "h265":
|
||||
medias = []*description.Media{
|
||||
{
|
||||
Formats: []format.Format{test.FormatH265},
|
||||
Formats: []format.Format{
|
||||
&format.H265{
|
||||
PayloadTyp: 96,
|
||||
VPS: []byte{
|
||||
0x40, 0x01, 0x0c, 0x01, 0xff, 0xff, 0x01, 0x60,
|
||||
0x00, 0x00, 0x03, 0x00, 0x90, 0x00, 0x00, 0x03,
|
||||
0x00, 0x00, 0x03, 0x00, 0x78, 0xba, 0x02, 0x40,
|
||||
},
|
||||
SPS: []byte{
|
||||
0x42, 0x01, 0x01, 0x01, 0x60, 0x00, 0x00, 0x03,
|
||||
0x00, 0x90, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03,
|
||||
0x00, 0x78, 0xa0, 0x03, 0xc0, 0x80, 0x11, 0x07,
|
||||
0xcb, 0x96, 0xe9, 0x29, 0x30, 0xbc, 0x05, 0xa0,
|
||||
0x20, 0x00, 0x00, 0x03, 0x00, 0x20, 0x00, 0x00,
|
||||
0x03, 0x03, 0xc1,
|
||||
},
|
||||
PPS: []byte{
|
||||
0x44, 0x01, 0xc0, 0x73, 0xc1, 0x89,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -247,9 +267,22 @@ func TestFromStream(t *testing.T) {
|
|||
case "h265":
|
||||
require.Equal(t, []format.Format{
|
||||
&format.H265{
|
||||
VPS: test.FormatH265.VPS,
|
||||
SPS: test.FormatH265.SPS,
|
||||
PPS: test.FormatH265.PPS,
|
||||
VPS: []byte{
|
||||
0x40, 0x01, 0x0c, 0x01, 0xff, 0xff, 0x01, 0x60,
|
||||
0x00, 0x00, 0x03, 0x00, 0x90, 0x00, 0x00, 0x03,
|
||||
0x00, 0x00, 0x03, 0x00, 0x78, 0xba, 0x02, 0x40,
|
||||
},
|
||||
SPS: []byte{
|
||||
0x42, 0x01, 0x01, 0x01, 0x60, 0x00, 0x00, 0x03,
|
||||
0x00, 0x90, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03,
|
||||
0x00, 0x78, 0xa0, 0x03, 0xc0, 0x80, 0x11, 0x07,
|
||||
0xcb, 0x96, 0xe9, 0x29, 0x30, 0xbc, 0x05, 0xa0,
|
||||
0x20, 0x00, 0x00, 0x03, 0x00, 0x20, 0x00, 0x00,
|
||||
0x03, 0x03, 0xc1,
|
||||
},
|
||||
PPS: []byte{
|
||||
0x44, 0x01, 0xc0, 0x73, 0xc1, 0x89,
|
||||
},
|
||||
PayloadTyp: 96,
|
||||
},
|
||||
}, r.Tracks())
|
||||
|
|
@ -433,9 +466,10 @@ func TestFromStream(t *testing.T) {
|
|||
Base: unit.Base{
|
||||
PTS: 90000 * 2 * int64(i),
|
||||
},
|
||||
AU: [][]byte{
|
||||
{0x26, 0x1, 0xaf, 0x8, 0x42, 0x23, 0x48, 0x8a, 0x43, 0xe2},
|
||||
},
|
||||
AU: [][]byte{{
|
||||
0x2a, 0x01, 0xad, 0xe0, 0xf5, 0x34, 0x11, 0x0b,
|
||||
0x41, 0xe8,
|
||||
}},
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue