Audio is working. Local TURN server still not working -- could need TLS?
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
221dd0e726
commit
dee8cb684b
@ -80,16 +80,32 @@ const MediaAgent = () => {
|
||||
offerToReceiveAudio: true,
|
||||
offerToReceiveVideo: false
|
||||
},
|
||||
iceServers: [ {
|
||||
/* urls: "stun:stun.l.google.com:19302" }, {
|
||||
urls: "stun:stun.stunprotocol.org:3478" }, { */
|
||||
// urls: "turn:ketrenos.com:3478",
|
||||
// username: "ketra",
|
||||
// credential: "ketran"
|
||||
urls: "turn:numb.viagenie.ca",
|
||||
username: "james_viagenie@ketrenos.com",
|
||||
credential: "1!viagenie"
|
||||
} ]
|
||||
iceServers: [
|
||||
/*
|
||||
{ urls: "stun:stun.l.google.com:19302" },
|
||||
{ urls: "stun:stun.stunprotocol.org:3478" },
|
||||
*/
|
||||
/*
|
||||
{
|
||||
urls: "turn:ketrenos.com:3478",
|
||||
username: "ketra",
|
||||
credential: "ketran"
|
||||
},
|
||||
*/
|
||||
/*{
|
||||
urls: "turn:ketrenos.com:3478?transport=tcp",
|
||||
username: "ketra",
|
||||
credential: "ketran"
|
||||
},
|
||||
*/
|
||||
|
||||
{
|
||||
urls: "turn:numb.viagenie.ca",
|
||||
username: "james_viagenie@ketrenos.com",
|
||||
credential: "1!viagenie"
|
||||
}
|
||||
|
||||
]
|
||||
}, {
|
||||
/* this will no longer be needed by chrome
|
||||
* eventually (supposedly), but is necessary
|
||||
@ -117,7 +133,7 @@ const MediaAgent = () => {
|
||||
|
||||
connection.onicecandidate = (event) => {
|
||||
if (!event.candidate) {
|
||||
console.error(`media-agent - icecanditate - gathering is complete: ${connection.connectinoState}`);
|
||||
console.error(`media-agent - icecanditate - gathering is complete: ${connection.connectionState}`);
|
||||
return;
|
||||
}
|
||||
/* If a srflx candidate was found, notify that the STUN server works! */
|
||||
|
Loading…
x
Reference in New Issue
Block a user