From 4214667c264fc6afb86601f82efa37da886494b3 Mon Sep 17 00:00:00 2001 From: Yohan Totting Date: Wed, 27 Dec 2023 23:10:05 +0800 Subject: [PATCH] fix timeout readRTP exit loop --- remotetrack.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/remotetrack.go b/remotetrack.go index fa11276..1f2522d 100644 --- a/remotetrack.go +++ b/remotetrack.go @@ -80,9 +80,6 @@ func (t *remoteTrack) readRTP() { rtp, _, readErr := t.track.ReadRTP() if readErr == io.EOF { return - } else if readErr != nil { - glog.Error("error reading rtp: ", readErr.Error()) - return } t.onRead(*rtp)