mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Remove erroneous iceCandidates field from upTrack.
This commit is contained in:
parent
0fd302d877
commit
d45d111084
1 changed files with 5 additions and 6 deletions
11
conn.go
11
conn.go
|
@ -17,11 +17,6 @@ import (
|
|||
"github.com/pion/webrtc/v2"
|
||||
)
|
||||
|
||||
type iceConnection interface {
|
||||
addICECandidate(candidate *webrtc.ICECandidateInit) error
|
||||
flushICECandidates() error
|
||||
}
|
||||
|
||||
type upTrack struct {
|
||||
track *webrtc.Track
|
||||
label string
|
||||
|
@ -32,7 +27,6 @@ type upTrack struct {
|
|||
lastPLI uint64
|
||||
lastSenderReport uint32
|
||||
lastSenderReportTime uint32
|
||||
iceCandidates []*webrtc.ICECandidateInit
|
||||
|
||||
localCh chan struct{} // signals that local has changed
|
||||
writerDone chan struct{} // closed when the loop dies
|
||||
|
@ -93,6 +87,11 @@ func (up *upTrack) hasRtcpFb(tpe, parameter string) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
type iceConnection interface {
|
||||
addICECandidate(candidate *webrtc.ICECandidateInit) error
|
||||
flushICECandidates() error
|
||||
}
|
||||
|
||||
type upConnection struct {
|
||||
id string
|
||||
label string
|
||||
|
|
Loading…
Reference in a new issue