check SPS/PPS of H264/H265 SDPs (#394)

This commit is contained in:
Alessandro Ros
2023-09-01 18:31:52 +02:00
committed by GitHub
parent 2ea1bf97dd
commit 8f18a0d83b
4 changed files with 32 additions and 7 deletions

View File

@@ -586,8 +586,8 @@ func TestServerRecord(t *testing.T) {
Type: description.MediaTypeVideo,
Formats: []format.Format{&format.H264{
PayloadTyp: 96,
SPS: []byte{0x01, 0x02, 0x03, 0x04},
PPS: []byte{0x01, 0x02, 0x03, 0x04},
SPS: testH264Media.Formats[0].(*format.H264).SPS,
PPS: testH264Media.Formats[0].(*format.H264).PPS,
PacketizationMode: 1,
}},
},
@@ -595,8 +595,8 @@ func TestServerRecord(t *testing.T) {
Type: description.MediaTypeVideo,
Formats: []format.Format{&format.H264{
PayloadTyp: 96,
SPS: []byte{0x01, 0x02, 0x03, 0x04},
PPS: []byte{0x01, 0x02, 0x03, 0x04},
SPS: testH264Media.Formats[0].(*format.H264).SPS,
PPS: testH264Media.Formats[0].(*format.H264).PPS,
PacketizationMode: 1,
}},
},