Flashphoner.createSession({
urlServer: 'xxxx',
appKey: 'xxxx'
custom: {xxxx},
mediaOptions: {
"iceServers": [{"urls":"turn:xxx", "username"=>"xxx", "credential"=>"xxx"}],
"iceTransportPolicy": "relay"
}
})
Sorry that was just a typo.Would it work if change '=>' to ':'?
"iceServers": [
{
urls:"stun:global.stun.twilio.com:3478?transport=udp"
},
{
urls:"turn:global.turn.twilio.com:3478?transport=udp",
username:"e2d3f46d141c1ab4208d815c8018e44a56385608ecae535071ba7eecb9e6b529",
credential:"5j7LiWxxWS9gSsQDNbqQ8Tuew4sTEo2cBj/W1jf83SA="
},
{
urls:"turn:global.turn.twilio.com:3478?transport=tcp",
username:"e2d3f46d141c1ab4208d815c8018e44a56385608ecae535071ba7eecb9e6b529",
credential:"5j7LiWxxWS9gSsQDNbqQ8Tuew4sTEo2cBj/W1jf83SA="
},
{
urls:"turn:global.turn.twilio.com:443?transport=tcp",
username:"e2d3f46d141c1ab4208d815c8018e44a56385608ecae535071ba7eecb9e6b529",
credential:"5j7LiWxxWS9gSsQDNbqQ8Tuew4sTEo2cBj/W1jf83SA="
}
]
11:27:22,977 ERROR MediaHandler - pool-49-thread-1 publishStream exception
com.flashphoner.server.license.manager.exception.LicensePeriodIsExpired: License period is expired Wed Nov 15 11:27:22 UTC 2017 Wed Jan 31 00:00:00 UTC 2018 Wed Jan 01 00:00:00 UTC 3000
at com.flashphoner.server.license.manager.A.A.D.check(Unknown Source)
at com.flashphoner.server.license.manager.LicenseManager.check(Unknown Source)
at com.flashphoner.server.client.handler.wcs4.MediaHandler.createMediaSession(Unknown Source)
at com.flashphoner.server.client.handler.wcs4.MediaHandler.publishStream(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.flashphoner.server.client.handler.MediaHandlerProxyCreator$MediaHandlerInvocationHandler.invoke(Unknown Source)
at com.flashphoner.server.client.handler.wcs4.WCS4Handler_$$_jvst66e_0.publishStream(WCS4Handler_$$_jvst66e_0.java)
at com.flashphoner.server.G.E.A(Unknown Source)
at com.flashphoner.D.B.messageReceived(Unknown Source)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(Unknown Source)
at org.jboss.netty.channel.Channels.fireMessageReceived(Unknown Source)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(Unknown Source)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(Unknown Source)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(Unknown Source)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Unknown Source)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(Unknown Source)
at org.jboss.netty.channel.Channels.fireMessageReceived(Unknown Source)
at org.jboss.netty.channel.Channels.fireMessageReceived(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioWorker.read(Unknown Source)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(Unknown Source)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioWorker.run(Unknown Source)
at org.jboss.netty.util.ThreadRenamingRunnable.run(Unknown Source)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
wcs_core_pid=/var/run/FlashphonerMainWebCallServer.pid
client.jmx_port=50999
client.jmx_login=admin
client.jmx_password=admin
client.max_failure_count=2
client.handle_failure_interval=60000
client.failure_check_interval=60000
client.notification.email=support@flashphoner.com
client.notify_only=false
watchdog_events=CoreProcessDown
on_watchdog_event=watchdog_event_hook.sh
watchdog_autorun=true
server.registration.credentials=login:login,authenticationName:authenticationName,password:password,domain:domain,outboundProxy:outboundProxy,port:5060
server.registration.credentials.delimiter1=,
server.registration.credentials.delimiter2=:
#sendmail_script=watchdog_mail_script.sh
mail.smtp.auth=true
mail.smtp.starttls.enable=true
mail.smtp.host=smtp.gmail.com
mail.smtp.port=587
mail.username=watchdog@flashphoner.com
mail.password=12345