Skip to content

Commit

Permalink
fix timeout readRTP exit loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohan Totting committed Dec 27, 2023
1 parent 093dd9d commit 4214667
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions remotetrack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4214667

Please sign in to comment.