mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
add TrackG722 and client-publish-codec-g722 example
This commit is contained in:
@@ -38,6 +38,17 @@ func TestTrackNewFromMediaDescription(t *testing.T) {
|
||||
},
|
||||
&TrackPCMU{},
|
||||
},
|
||||
{
|
||||
"g722",
|
||||
&psdp.MediaDescription{
|
||||
MediaName: psdp.MediaName{
|
||||
Media: "audio",
|
||||
Protos: []string{"RTP", "AVP"},
|
||||
Formats: []string{"9"},
|
||||
},
|
||||
},
|
||||
&TrackG722{},
|
||||
},
|
||||
{
|
||||
"mpeg audio",
|
||||
&psdp.MediaDescription{
|
||||
|
Reference in New Issue
Block a user