change track initialization method

This commit is contained in:
aler9
2022-06-23 13:13:36 +02:00
parent 3223af460e
commit 9f4fea8a01
40 changed files with 765 additions and 706 deletions

View File

@@ -12,11 +12,6 @@ type TrackPCMA struct {
trackBase
}
// NewTrackPCMA allocates a TrackPCMA.
func NewTrackPCMA() *TrackPCMA {
return &TrackPCMA{}
}
func newTrackPCMAFromMediaDescription(
control string,
rtpmapPart1 string) (*TrackPCMA, error,