Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
galene
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
nexedi
galene
Commits
04b09515
Commit
04b09515
authored
Aug 13, 2020
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix fetching of ICE servers.
parent
240b05a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
static/protocol.js
static/protocol.js
+2
-2
No files found.
static/protocol.js
View file @
04b09515
...
...
@@ -64,7 +64,7 @@ function ServerConnection() {
* The ICE configuration used by all associated streams.
* @type {Array.<Object>}
*/
this
.
iceServers
=
[]
;
this
.
iceServers
=
null
;
/**
* The permissions granted to this connection.
* @type {Object.<string,boolean>}
...
...
@@ -359,7 +359,7 @@ ServerConnection.prototype.newUpStream = function(id) {
throw
new
Error
(
'
Eek!
'
);
}
let
pc
=
new
RTCPeerConnection
({
iceServers
:
sc
.
iceServers
,
iceServers
:
sc
.
iceServers
||
[]
,
});
if
(
!
pc
)
throw
new
Error
(
"
Couldn't create peer connection
"
);
...
...
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