From 65972fabe89fe85fadfd92dc974c836b0de44a64 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 8 May 2021 16:03:32 +0200 Subject: [PATCH] Remove dead code. --- rtpconn/rtpconn.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rtpconn/rtpconn.go b/rtpconn/rtpconn.go index ab2d262..0fa82a6 100644 --- a/rtpconn/rtpconn.go +++ b/rtpconn/rtpconn.go @@ -238,7 +238,6 @@ type upTrackAtomics struct { type rtpUpTrack struct { track *webrtc.TrackRemote - label string rate *estimator.Estimator cache *packetcache.Cache jitter *jitter.Estimator @@ -312,10 +311,6 @@ func (up *rtpUpTrack) GetRTP(seqno uint16, result []byte) uint16 { return up.cache.Get(seqno, result) } -func (up *rtpUpTrack) Label() string { - return up.label -} - func (up *rtpUpTrack) Kind() webrtc.RTPCodecType { return up.track.Kind() }