Internal Sip Error SIP to RTMP

Max

Administrator
Staff member
Hello
Please share WCS_HOME/logs/server_logs/flashphoner.log
This error should be listed in this log.
 

Piyush

New Member
Hey @Max call was estabalished. How can i hear to stream. Ubuntu doesnt support flash as required by wowza. Can you suggest me how can i stream
 

Max

Administrator
Staff member

Piyush

New Member
wheen i go to streaming url it shows me this Wowza Streaming Engine 4 Trial Edition (Expires: Aug 27, 2018) 4.7.5 build21763
 

Max

Administrator
Staff member
It seems you are using Wowza server in your scheme.
If you relay the stream to Wowza, it is up to Wowza how it will be delivered further. We don't control this part.
If you relay your stream to localhost (WCS) or to another WCS server, we can advice how to play this stream in HTML5. See recommendations above.
This is how it works:
https://docs.flashphoner.com/pages/viewpage.action?pageId=3048012
You have
1. Twilio - SIP server
2. WCS - SIP grabber and RTMP convertor
3. Wowza - RTMP server
as a replacement of Wowza, you can use WCS server the same or secondary.
 

Piyush

New Member
@Max Just one more thing - if I remove wowza so from here, can wcs act as rtmp server as well ? Can you give me link for that as well ?
 

Max

Administrator
Staff member
Code:
if I can remove it, what would be rtmp url in making call
You don't need to remove it.
It just can be a conflict in ports because both WCS and Wowza users port 1935 for RTMP.
WCS RTMP URL is
rtmp://192.168.88.12:1935/live/stream1
Here
192.168.88.12 is IP address of your WCS server
1935 is RTMP port
stream1 is stream name
Just make sure WCS is running and listening RTMP port 1935
Code:
netstat -nlp | grep 1935
This port should be listened by WCS process.
If it is necessary you can change this port to i.e. 1936 in flashphoner.properties config
https://docs.flashphoner.com/display/WCS5EN/Settings+file+flashphoner.properties (applied for WCS version 5.1.x)
Code:
rtmp.port=1936
 

Piyush

New Member
Hi @Max
17:52:36,171 INFO StunDatagramSocket - Stun receiver udp/31002 Stop STUN component udp socket by timeout:69
17:52:36,174 INFO Agent - Stun receiver udp/31002 ICE state changed from Waiting to Failed by ICE keep alive. Local ufrag 33620d00-93f3-11e8-9f5d-8d162d2a5e65bfnni1cjli7937
17:52:36,188 INFO RtcMediaClient - Stun receiver udp/31002 Stop media session 33620d00-93f3-11e8-9f5d-8d162d2a5e65
17:52:36,194 INFO ergingDatagramSocket - Stun receiver udp/31002 Closing.
17:52:36,195 INFO StunDatagramSocket - Stun receiver udp/31002 Close STUN component udp socket by close(): udp/RTP/audio/31002


I open udp port from 31000-32000 but still same error coming up.
 

Piyush

New Member
java.lang.NoSuchMethodException: class com.sun.proxy.$Proxy8.availableStream(class com.flashphoner.server.commons.rmi.data.impl.Stream)
at com.flashphoner.server.rmi.ManagerApiConnection.requestRmiObjectFromManager(Unknown Source)
at com.flashphoner.server.rmi.ManagerApiConnection.requestRmiObject(Unknown Source)
at com.flashphoner.server.rmi.ManagerApiConnection.getApiMethodResult(Unknown Source)
at com.flashphoner.server.rmi.ManagerApiConnection.lambda$queryApiAsync$0(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
getting this after removing wowza
 

Max

Administrator
Staff member
Please provide:
1. SSH access to the testing server.
2. SIP authentication details: login, password, domain, etc.
3. SIP callee number. It should be auto-reply conference extension or it should be able to call to external phone.
support@flashphoner.com
We will check the call.
 
Top