Update streamer NewTrack function

This commit is contained in:
Alexey Khit
2023-03-04 06:17:04 +03:00
parent c2cdf60ffc
commit 5aa20f0845
17 changed files with 73 additions and 24 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ func (c *Client) Handle() error {
continue // unsupported codec
}
track = streamer.NewTrack2(media, nil)
track = streamer.NewTrack(media, nil)
c.medias = append(c.medias, media)
c.tracks[packet.PayloadType] = track