replace Format.Marshal() with RTPMap() and FMTP() (#253)

This commit is contained in:
Alessandro Ros
2023-04-15 13:46:19 +02:00
committed by GitHub
parent fee147222e
commit a955288571
43 changed files with 414 additions and 340 deletions

View File

@@ -431,7 +431,7 @@ func TestServerRecordErrorRecordPartialMedias(t *testing.T) {
forma := &formats.Generic{
PayloadTyp: 96,
RTPMap: "private/90000",
RTPMa: "private/90000",
}
err = forma.Init()
require.NoError(t, err)
@@ -1263,7 +1263,7 @@ func TestServerRecordDecodeErrors(t *testing.T) {
Type: media.TypeApplication,
Formats: []formats.Format{&formats.Generic{
PayloadTyp: 97,
RTPMap: "private/90000",
RTPMa: "private/90000",
}},
}}
resetMediaControls(medias)