mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
expose number of lost packets without passing through an error (#735)
This commit is contained in:
@@ -19,5 +19,5 @@ func New() *LossDetector {
|
||||
// Process processes a RTP packet.
|
||||
// It returns the number of lost packets.
|
||||
func (r *LossDetector) Process(pkt *rtp.Packet) uint {
|
||||
return (*rtplossdetector.LossDetector)(r).Process(pkt)
|
||||
return uint((*rtplossdetector.LossDetector)(r).Process(pkt))
|
||||
}
|
||||
|
Reference in New Issue
Block a user