Commit d45d1110 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove erroneous iceCandidates field from upTrack.

parent 0fd302d8
...@@ -17,11 +17,6 @@ import ( ...@@ -17,11 +17,6 @@ import (
"github.com/pion/webrtc/v2" "github.com/pion/webrtc/v2"
) )
type iceConnection interface {
addICECandidate(candidate *webrtc.ICECandidateInit) error
flushICECandidates() error
}
type upTrack struct { type upTrack struct {
track *webrtc.Track track *webrtc.Track
label string label string
...@@ -32,7 +27,6 @@ type upTrack struct { ...@@ -32,7 +27,6 @@ type upTrack struct {
lastPLI uint64 lastPLI uint64
lastSenderReport uint32 lastSenderReport uint32
lastSenderReportTime uint32 lastSenderReportTime uint32
iceCandidates []*webrtc.ICECandidateInit
localCh chan struct{} // signals that local has changed localCh chan struct{} // signals that local has changed
writerDone chan struct{} // closed when the loop dies writerDone chan struct{} // closed when the loop dies
...@@ -93,6 +87,11 @@ func (up *upTrack) hasRtcpFb(tpe, parameter string) bool { ...@@ -93,6 +87,11 @@ func (up *upTrack) hasRtcpFb(tpe, parameter string) bool {
return false return false
} }
type iceConnection interface {
addICECandidate(candidate *webrtc.ICECandidateInit) error
flushICECandidates() error
}
type upConnection struct { type upConnection struct {
id string id string
label string label string
......
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