bump Golang to 1.23 (#610)

This commit is contained in:
Alessandro Ros
2024-11-04 13:39:10 +01:00
committed by GitHub
parent 01fd8033a2
commit a19432fd87
22 changed files with 85 additions and 58 deletions

View File

@@ -1914,7 +1914,7 @@ func (c *Client) PacketPTS(medi *description.Media, pkt *rtp.Packet) (time.Durat
return multiplyAndDivide(time.Duration(v), time.Second, time.Duration(ct.format.ClockRate())), true
}
// PacketPTS returns the PTS of an incoming RTP packet.
// PacketPTS2 returns the PTS of an incoming RTP packet.
// It is computed by decoding the packet timestamp and sychronizing it with other tracks.
func (c *Client) PacketPTS2(medi *description.Media, pkt *rtp.Packet) (int64, bool) {
cm := c.medias[medi]