mirror of
https://github.com/aler9/gortsplib
synced 2025-10-30 10:06:28 +08:00
replace Format.Marshal() with RTPMap() and FMTP() (#253)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user