|
|
@ -165,11 +165,11 @@ if (navigator.mozGetUserMedia) { |
|
|
|
|
|
|
|
|
|
|
|
// Creates an ICEServer object from multiple URLs.
|
|
|
|
// Creates an ICEServer object from multiple URLs.
|
|
|
|
window.createIceServers = function(urls, username, password) { |
|
|
|
window.createIceServers = function(urls, username, password) { |
|
|
|
return { |
|
|
|
return [{ |
|
|
|
'urls': urls, |
|
|
|
'urls': urls, |
|
|
|
'credential': password, |
|
|
|
'credential': password, |
|
|
|
'username': username |
|
|
|
'username': username |
|
|
|
}; |
|
|
|
}]; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// The RTCPeerConnection object.
|
|
|
|
// The RTCPeerConnection object.
|
|
|
|