What is the user name of AWS flashphoner server

Jai WC

New Member
What is the username of AWS flashphoner server because I am not able to login to its server via SSH. Please provide an exact username for the same.
Thanks
 

Max

Administrator
Staff member
ec2-user

By the way.
We do not control Amazon EC2 servers.
So you have full access to the AWS instance and we do not have such access.
Please learn more in AWS docs.
 

Jai WC

New Member
Hello Max,
Another thing is I have configured the flashphoner with AWS EC2 and my url is "https://52.53.207.109:8888" and doing the demo for WebRTC as RTMP but when I tried to start streaming but its failed every time and in browser console, I found the error like 'player.setURLFlash is not a function'. So can you please know me the reason for the same for being failed of streaming.
Thanks
 

Max

Administrator
Staff member
Hello
Could you please provide screen shots and console output.
 

Jai WC

New Member
Here i have added screen shot https://prnt.sc/jd70xo of my window you can see now its not showing status even LIKE publishing, failed and in console its showing errors like,
webrtc-as-rtmp-republishing.js:54 Create new session with url wss://52.53.207.109:8443
flashphoner.js:27865 17:59:15 INFO webrtc - Object
flashphoner.js:27865 17:59:15 INFO webrtc - FOUND WEBRTC CACHED INSTANCE, id 97ea7f70-4ecd-11e8-9c39-11cd816d12f8-CACHED_WEBRTC_INSTANCE
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
windowResize @ content_script.js:1
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
windowResize @ content_script.js:1
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
windowResize @ content_script.js:1
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
windowResize @ content_script.js:1
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)
content_script.js:1 Uncaught TypeError: Cannot set property 'maxLeft' of undefined
at windowResize (content_script.js:1)

I have tried even in your demo server with my details but even though its not working.
 

Jai WC

New Member
Below is my log file by tail -f /usr/local/FlashphonerWebCallServer/logs/flashphoner_manager.log
OBJECT:
{
"nodeId" : "DbnxXbU4HjGDDasKOHLUpHEaG895Za1A@127.0.0.1",
"appKey" : "defaultApp",
"sessionId" : "/103.215.159.150:53547/172.31.7.88:8443",
"status" : "DISCONNECTED"
}
^X^C
[ec2-user@ip-172-31-7-88 /]$ tail -f /usr/local/FlashphonerWebCallServer/logs/flashphoner_manager.log
"status" : "PENDING",
"sdp" : "v=0\r\no=- 1053799262603305233 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS a5ppp9BvnkhloT08o6kWV0B0Xjgud7TmcI5w\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:XPoH\r\na=ice-pwd:6ONjohQNXDHI3jraeIC/24rN\r\na=fingerprint:sha-256 19:DB:9C:CB:A6:2E:8A:A0:7C:5D:EC:4D:D6:4D:7D:D0:48:C4:86:7B:3F:23:E9:3B:15:27:4F:11:21:2A:60:1E\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:2643213120 cname:Og6cGIO/JDWHyuL7\r\na=ssrc:2643213120 msid:a5ppp9BvnkhloT08o6kWV0B0Xjgud7TmcI5w 0d306b5f-550b-4d95-ac89-2a6491a4d203\r\na=ssrc:2643213120 mslabel:a5ppp9BvnkhloT08o6kWV0B0Xjgud7TmcI5w\r\na=ssrc:2643213120 label:0d306b5f-550b-4d95-ac89-2a6491a4d203\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 97 99 101 125\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:XPoH\r\na=ice-pwd:6ONjohQNXDHI3jraeIC/24rN\r\na=fingerprint:sha-256 19:DB:9C:CB:A6:2E:8A:A0:7C:5D:EC:4D:D6:4D:7D:D0:48:C4:86:7B:3F:23:E9:3B:15:27:4F:11:21:2A:60:1E\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:4 urn:3gpp:video-orientation\r\na=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:6 http://www.webrtc.org/experiments/r...\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtpmap:100 red/90000\r\na=rtpmap:102 ulpfec/90000\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=fmtp:127 packetization-mode=1\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=ssrc-group:FID 72026115 3598374789\r\na=ssrc:72026115 cname:Og6cGIO/JDWHyuL7\r\na=ssrc:72026115 msid:a5ppp9BvnkhloT08o6kWV0B0Xjgud7TmcI5w 1864999d-b5f7-497f-a38a-3d1c0e5a966b\r\na=ssrc:72026115 mslabel:a5ppp9BvnkhloT08o6kWV0B0Xjgud7TmcI5w\r\na=ssrc:72026115 label:1864999d-b5f7-497f-a38a-3d1c0e5a966b\r\na=ssrc:3598374789 cname:Og6cGIO/JDWHyuL7\r\na=ssrc:3598374789 msid:a5ppp9BvnkhloT08o6kWV0B0Xjgud7TmcI5w 1864999d-b5f7-497f-a38a-3d1c0e5a966b\r\na=ssrc:3598374789 mslabel:a5ppp9BvnkhloT08o6kWV0B0Xjgud7TmcI5w\r\na=ssrc:3598374789 label:1864999d-b5f7-497f-a38a-3d1c0e5a966b\r\n",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"quality" : 0,
"rtmpUrl" : "rtmp://a.rtmp.youtube.com/live2",
"mediaProvider" : "WebRTC"
}
13:13:04,965 INFO agerRemoteRmiService - RMI TCP Connection(641)-172.31.7.88 SEND REST OBJECT ==>
URL:http://localhost:9091/EchoApp/ConnectionStatusEvent
OBJECT:
{
"nodeId" : "DbnxXbU4HjGDDasKOHLUpHEaG895Za1A@127.0.0.1",
"appKey" : "defaultApp",
"sessionId" : "/103.215.159.150:56414/172.31.7.88:8443",
"status" : "DISCONNECTED"
}
13:13:04,978 INFO agerRemoteRmiService - RMI TCP Connection(641)-172.31.7.88 RECEIVED REST OBJECT <==
URL:http://localhost:9091/EchoApp/ConnectionStatusEvent
OBJECT:
{
"nodeId" : "DbnxXbU4HjGDDasKOHLUpHEaG895Za1A@127.0.0.1",
"appKey" : "defaultApp",
"sessionId" : "/103.215.159.150:56414/172.31.7.88:8443",
"status" : "DISCONNECTED"
}
 

Jai WC

New Member
And also I have configured the server third time [v. 0.5.16.1977 - 5.0.2106 ] today. And as you said to check for two way streaming its working fine but in WebRTC as RTMP same error coming of failed. And I have requirement of WebRTC to RTMP method only. Here is my server URL https://54.219.137.166:8888.
And in web browser console it shows error of:
webrtc-as-rtmp-republishing.js:135 Uncaught TypeError: player.setURLtoFlash is not a function
at sendDataToPlayer (https://54.219.137.166:8888/client2...lishing/webrtc-as-rtmp-republishing.js:135:12)
at Object.PUBLISHING (https://54.219.137.166:8888/client2...ublishing/webrtc-as-rtmp-republishing.js:83:9)
at Object.streamRefreshHandlers.(anonymous function) [as e7ef53b0-4f8b-11e8-922a-9f73fb28325c] (https://54.219.137.166:8888/client2/flashphoner.js:26491:33)
at WebSocket.wsConnection.onmessage (https://54.219.137.166:8888/client2/flashphoner.js:25679:62)
So please help us with the problem fast.
 

Jai WC

New Member
Hello actually I don't want to play RTMP player I simply want to do streaming with my youtube channel even though I have installed adobe flash player and before this, it was working fine with your demo server URL but as of now it has stopped working please check my attached image for the same
 

Attachments

Last edited:

Max

Administrator
Staff member
Hello
actually I don't want to play RTMP player I simply want to do streaming with my youtube channel
We just provide API and working example for WebRTC to RTMP streaming.
You can remove RTMP player from your production page. But you will have to fix scripts on the page.
https://demo.flashphoner.com/client...republishing/webrtc-as-rtmp-republishing.html
https://demo.flashphoner.com/client...p-republishing/webrtc-as-rtmp-republishing.js
even though I have installed adobe flash player and before this, it was working fine with your demo server URL but as of now it has stopped working please check my attached image for the same
By default, WCS server will add rtmp_ prefix to stream name.
That's why it may not work with your installation.
Edit server-side WCS_HOME/conf/flashphoner.properties
and comment setting
Code:
rtmp_transponder_stream_name_prefix =rtmp_
Then restart WCS server.
Code:
service webcallserver restart
Then prefix will not be used and stream should work.
 

Jai WC

New Member
Hello we did same thing as you said for doing comment for rtmp_transponder_stream_name_prefix =rtmp and also did restart but its stopped the server and displays the error of white label. This same thing i tried two times by configuring new server for wcs but same error comes on doing commenting and restarting the server.
And for white label error i also tried to remove bin/database all files and also start server with standalone but its Failed anyway i dont know.
 

Attachments

Last edited:

Jai WC

New Member
Hello i have checked all thing of today's as you said but ultimately it stops at white label page error. And so that i configured again new server also but issue same even though all the changes (removed database files, updated WCS server version) this issue started first time today as i edited Flashphoner's properties file for removing rtmp default prefix because of youtube streaming is not working.
 

Attachments

Last edited:

Jai WC

New Member
Hello
Did you checked with my given SSH detail for our problem, Please update me for the same if you are unable to connect with server and if its succeed then please let me know about the issue status.
 
Top