mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 06:46:42 +08:00
merge format and formatdecenc into formats (#222)
This commit is contained in:
@@ -19,7 +19,7 @@ import (
|
||||
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/base"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/conn"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/format"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/formats"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/headers"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/media"
|
||||
"github.com/bluenviron/gortsplib/v3/pkg/sdp"
|
||||
@@ -2130,7 +2130,7 @@ func TestServerPlayAdditionalInfos(t *testing.T) {
|
||||
return &ri, ssrcs
|
||||
}
|
||||
|
||||
forma := &format.Generic{
|
||||
forma := &formats.Generic{
|
||||
PayloadTyp: 96,
|
||||
RTPMap: "private/90000",
|
||||
}
|
||||
@@ -2140,11 +2140,11 @@ func TestServerPlayAdditionalInfos(t *testing.T) {
|
||||
stream := NewServerStream(media.Medias{
|
||||
&media.Media{
|
||||
Type: "application",
|
||||
Formats: []format.Format{forma},
|
||||
Formats: []formats.Format{forma},
|
||||
},
|
||||
&media.Media{
|
||||
Type: "application",
|
||||
Formats: []format.Format{forma},
|
||||
Formats: []formats.Format{forma},
|
||||
},
|
||||
})
|
||||
defer stream.Close()
|
||||
|
Reference in New Issue
Block a user