Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sfu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
sfu
Commits
d45d1110
Commit
d45d1110
authored
May 26, 2020
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove erroneous iceCandidates field from upTrack.
parent
0fd302d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
conn.go
conn.go
+5
-6
No files found.
conn.go
View file @
d45d1110
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment