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

@@ -81,7 +81,8 @@ func TestTracksReadSkipGenericTracksWithoutClockRate(t *testing.T) {
PPS: []byte{0x68, 0xee, 0x01, 0x9e, 0x2c},
PacketizationMode: 1,
},
&TrackPCMU{
&TrackG711{
MULaw: true,
trackBase: trackBase{
control: "rtsp://10.0.100.50/profile5/media.smp/trackID=a",
},