merge TrackPCMA and TrackPCMU into Track G711

This commit is contained in:
aler9
2022-11-27 19:36:46 +01:00
parent 150f16ae65
commit ab0c9e64c9
13 changed files with 124 additions and 353 deletions

View File

@@ -25,7 +25,7 @@ func TestTrackNewFromMediaDescription(t *testing.T) {
Formats: []string{"8"},
},
},
&TrackPCMA{},
&TrackG711{},
},
{
"pcmu",
@@ -36,7 +36,9 @@ func TestTrackNewFromMediaDescription(t *testing.T) {
Formats: []string{"0"},
},
},
&TrackPCMU{},
&TrackG711{
MULaw: true,
},
},
{
"g722",