Commit b1542af4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove dead code.

parent 4da03a3c
...@@ -975,26 +975,6 @@ func handleReport(track *rtpDownTrack, report rtcp.ReceptionReport, jiffies uint ...@@ -975,26 +975,6 @@ func handleReport(track *rtpDownTrack, report rtcp.ReceptionReport, jiffies uint
} }
} }
func trackKinds(down *rtpDownConnection) (audio bool, video bool) {
if down.pc == nil {
return
}
for _, s := range down.pc.GetSenders() {
track := s.Track()
if track == nil {
continue
}
switch track.Kind() {
case webrtc.RTPCodecTypeAudio:
audio = true
case webrtc.RTPCodecTypeVideo:
video = true
}
}
return
}
func updateUpBitrate(up *upConnection, maxVideoRate uint64) { func updateUpBitrate(up *upConnection, maxVideoRate uint64) {
now := rtptime.Jiffies() now := rtptime.Jiffies()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment