WebRTC as RTMP re-publishing Errors

Ryan

New Member
Hello,

Can someone help figure out what is wrong with my setup?

I am receiving the following error after clicking the "Start" button on the WebRTC as RTMP re-publishing demo page.

/usr/local/FlashphonerWebCallServer/logs/server_logs/flashphoner.log
Code:
18:18:52,443 WARN  ManagerApiConnection - WSS-pool-9-thread-1 filter: Got exception
java.lang.reflect.InvocationTargetException
    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:497)
    at com.flashphoner.server.rmi.ManagerApiConnection.requestRmiObject(Unknown Source)
    at com.flashphoner.server.rmi.ManagerApiConnection.getApiMethodResult(Unknown Source)
    at com.flashphoner.server.ws.B.A(Unknown Source)
    at com.flashphoner.server.ws.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$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.frame.FrameDecoder.callDecode(Unknown Source)
    at org.jboss.netty.handler.codec.frame.FrameDecoder.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.DeadlockAwareNioWorker.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:745)
Caused by: java.rmi.NoSuchObjectException: no such object in table
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    at com.sun.proxy.$Proxy4.connect(Unknown Source)
    ... 35 more
18:18:52,445 WARN  ManagerApiConnection - WSS-pool-9-thread-1 Failed to get object from REST with exception:java.rmi.NoSuchObjectException: no such object in table
18:18:52,446 INFO              WSClient - WSS-pool-9-thread-1 Close connection for channel [id: 0x2002cb79, /173.16.22.207:60549 => /172.31.9.191:8443] with status code: 1000 ; reason: Disconnected by error on REST method /connect
18:18:52,630 INFO             WSClients - WSClientsKeepaliveThread-55 Remove client with closed channel [id: 0x2002cb79, /173.16.22.207:60549 :> /172.31.9.191:8443]
18:18:52,630 INFO              WSClient - WSClientsKeepaliveThread-55 Close connection for channel [id: 0x2002cb79, /173.16.22.207:60549 :> /172.31.9.191:8443] with status code: 1000 ; reason: Disconnected by closed channel
I am following the tutorial at https://flashphoner.com/testing-of-webrtc-re-publishing-to-youtube-live-as-rtmp/ and my end goal is to stream to Facebook Live.

Thanks for your help.
 

Max

Administrator
Staff member
Hello,
Please, update your WCS. This issue should be fixed in latest revision.
 

Ryan

New Member
Thanks for the help Max. I'm working on updating my server, but went ahead and tried it at https://wcs5-eu.flashphoner.com/dashboard.xhtml, and am receiving the following Javacsript error when I click "Start" on the WebRTC as RTMP page. I also receive this error after clicking "Publish" on the Two-Way Streaming page:

Code:
flashphoner.js:30170 06:55:23 INFO webrtc -  Initialized
flashphoner.js:30170 06:55:23 INFO websocket -  Initialized
flashphoner.js:30170 06:55:23 INFO core -  Initialized
flashphoner.js:30170 06:55:27 INFO webrtc -  Initialized
flashphoner.js:30170 06:55:27 INFO websocket -  Initialized
flashphoner.js:30170 06:55:27 INFO core -  Initialized
two_way_streaming.js:35 Create new session with url wss://wcs5-eu.flashphoner.com:8443
flashphoner.js:30170 06:57:17 INFO webrtc -  {audio: true, video: {…}}
flashphoner.js:23892 Uncaught (in promise) TypeError: Cannot assign to read only property 'iceServers' of object '#<Object>'
    at window.RTCPeerConnection (https://wcs5-eu.flashphoner.com/client2/flashphoner.js:23892:31)
    at WrappedRTCPeerConnection (eval at injectIntoContentWindow (:27:23), <anonymous>:331:26)
    at https://wcs5-eu.flashphoner.com/client2/flashphoner.js:30305:26
    at Promise (<anonymous>)
    at Object.createConnection (https://wcs5-eu.flashphoner.com/client2/flashphoner.js:30297:12)
    at https://wcs5-eu.flashphoner.com/client2/flashphoner.js:28836:46
    at <anonymous>
window.RTCPeerConnection @ flashphoner.js:23892
WrappedRTCPeerConnection @ VM1984:331
(anonymous) @ flashphoner.js:30305
createConnection @ flashphoner.js:30297
(anonymous) @ flashphoner.js:28836
Promise rejected (async)
(anonymous) @ flashphoner.js:28850
Promise resolved (async)
publish @ flashphoner.js:28827
publishStream @ two_way_streaming.js:136
(anonymous) @ two_way_streaming.js:82
dispatch @ VM1881 jquery-1.12.0.js:5227
elemData.handle @ VM1881 jquery-1.12.0.js:4879
 

Ryan

New Member
I've updated to the latest version on my installation and am still receiving the "java.rmi.NoSuchObjectException" error from the original post.
 

Max

Administrator
Staff member
Hello
We found this error can be caused by ad-block plugin installed in Chrome browser.
Please try to uninstall the extension and check again.
 
Top