mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Remove dead code.
This commit is contained in:
parent
4da03a3ce5
commit
b1542af47c
1 changed files with 0 additions and 20 deletions
20
webclient.go
20
webclient.go
|
@ -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) {
|
||||
now := rtptime.Jiffies()
|
||||
|
||||
|
|
Loading…
Reference in a new issue