RafaelRibeiro
Member
Hello!
Is this correct? We are using credentials from DEMO of FlashPhoner TURN
function start() {
//check if we already have session
if (Flashphoner.getSessions().length > 0) {
startStreaming(Flashphoner.getSessions()[0]);
} else {
//create session
var url = field('url');
console.log("Create new session with url " + url);
var options = {
urlServer: url,
mediaOptions: {
"iceServers": [
{
'url': "turn:turn.flashphoner.com:443?transport=tcp",
'username': "LOGIN",
'credential': "PASS"
}
]
}
};
options.mediaOptions.iceTransportPolicy = "relay";
$('#url').prop('disabled', true);
Flashphoner.createSession(options).on(SESSION_STATUS.ESTABLISHED, function(session){
//session connected, start streaming
startStreaming(session);....
Looking at console log, client side, we do not see any ICE Candidate on logs.
Is this correct? We are using credentials from DEMO of FlashPhoner TURN
function start() {
//check if we already have session
if (Flashphoner.getSessions().length > 0) {
startStreaming(Flashphoner.getSessions()[0]);
} else {
//create session
var url = field('url');
console.log("Create new session with url " + url);
var options = {
urlServer: url,
mediaOptions: {
"iceServers": [
{
'url': "turn:turn.flashphoner.com:443?transport=tcp",
'username': "LOGIN",
'credential': "PASS"
}
]
}
};
options.mediaOptions.iceTransportPolicy = "relay";
$('#url').prop('disabled', true);
Flashphoner.createSession(options).on(SESSION_STATUS.ESTABLISHED, function(session){
//session connected, start streaming
startStreaming(session);....
Looking at console log, client side, we do not see any ICE Candidate on logs.