add TrackG722 and client-publish-codec-g722 example

This commit is contained in:
aler9
2022-11-14 22:16:55 +01:00
parent 1656e0e823
commit cb05e71b46
7 changed files with 190 additions and 1 deletions

View File

@@ -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{