Red5 flex recorder not working with Ipaddress - red5

Red5 flex recorder application running successfully with localhost ( localhost/myapp) but same isn't working with ipaddress (xxxx.xxxx.xxxx.xxxx/myapp). Flex component is loaded in the html page but record isn't working. Anything am i missing. Please help me out as earliest.

There should be a red5-web.properties file in your myapp/WEB-INF folder. In that file is a setting for:
webapp.virtualHosts
Which is a list of comma separated values. For me it looked like this:
webapp.virtualHosts=localhost, 127.0.0.1, 192.168.1.2
Maybe adding your ip address to YOUR list of webapp.virtualHosts could fix the issue.

Related

Rabbitmq_management plugin is enabled but cant access to web interface

im trying to work with rabbitmq server and i have a problem. In CLI by a command
rabbitmqctl status
i got something like this
the rabbitmq_management is runnin. and whenever i try to open localhost:15672 browser is showing me a white screen.
when i try to do command telnet localhost 15672 the result is
no fails, actually no fails just cant screenshot it properly, there just an underscore
Tried to work with docker image aswell, same results. Maybe i have issues with localhost? dont know what to do at this point
how to do the magic solving? anyone faced that?
UPDATE:
i figured out how to connect to management rabbitmq not by localhost, im doing it by 192.168.0.156:15672 witch is me ipv4 adress and the result is

Can't get connected mode to work in PhpStorm

I'm struggling to get the connected mode to connect to my local instance of SonarQube.
I'm suspecting it has something to do with the way my system is set up.
I'm using a Mac (OS X 10.11.x) and I have PHP and Apache set up according to this tutorial. I think perhaps there is an issue with a firewall rule or something.
When I connect to http://localhost:9000/api/system/status with a browser, there is no problem. telnet localhost 9000 works fine too.
But when I enter credentials and create a configuration in SonarLint, I always get:
error testing connection: Fail to request http://localhost:9000/api/system/status
Anybody have a clue?
It is also worth to check SonarLint issue tracker. Issue looks related rather to the plugin than PhpStorm itself.
Check your Phpstorm log folder ~/Library/Logs/PhpStormVERSION/FILE.log (FILE - some log file for phpstorm, in Intellij it's idea.log)
I see the tutorial you followed enabled SSL and I guess that should be because of a certificate.

configuring apache for osm2po

I have run osm2po, and it says that I can see the output on "http://localhost:8888/Osm2poService".
However, I am running it on a Ubuntu server, and want to view the page from my desktop computer.
On the server I have opened port 8888, but I still see nothing in my desktop browser when I enter the url "http://192.168.7.66/Osm2poService". Do I need to configure apache to view this page?
Many thanks
Mark
Have a look into the osm2po.config:
Change
service.domain = localhost
to
service.domain = 192.168.7.66

Red5-Recorder not working

I have done with red5 server installation.everything works fine in server installation..all the demo red5 applications are working perfectly. but I'm getting problem with red5-recorder..I'm getting an ERROR:could not connect to the server rtmp://127.0.0.1 ..Is there any other modification I have to do in the code?
ERROR:could not connect to the server rtmp://127.0.0.1 is caused by
if(Application.application.parameters.server!=null) myRecorder.server= Application.application.parameters.server;
which defaults to nc.connect(myRecorder.server) which returns 127.0.0.1/red5recorder
In order to get around this, you can pass along the server= FlashVar.
Edit red5recorder.html and add this in the appropriate place (after line #91):
"FlashVars", "server=rtmp://your.external.server.ip/red5recorder"
This is because the swf is downloaded and run client side, and needs to connect to your server's RTMP service. It can't connect to 127.0.0.1/red5recorder because that's your PC. This is why you set the server= paramerter. :-)
I hope that helps.
I created a new web app for Red5Recorder as indicates here with the name "red5recorder" because that's the name the recorder use to comunicate with. (see the Recorder.as file in the sources) and after restarted the server it started to work. The output file called "video.flv" is in the streams/ subdirectory.
I hope this helps you.
Cristian

SIP Application on standalone Red5 Server does not connect to Asterisk Server

I have tried for days now trying to find the right version of red5phone, but to no avail. Also, I need red5 and asterisk to be on different servers. I have followed all instructions described in the various tutorials on web, but nothing helps. I have downloaded 2 different versions of red5phone: sip1, sip_47 from the red5phone google code site, but none of them worked!
When I use:
a) sip1 - shows the correct parameters being passed on the red5 server console, but connection is stuck up with the console displaying the following error:
[NioProcessor-1] ERROR o.r.server.service.ServiceInvoker - Method login with parameters [<sip user>, <sip user>,<sip user>,<sip user pwd>, <asterisk server i/p>, <asterisk server i/p>] not found in org.red5.server.webapp.sip.Application#2d0c94a7
b) sip47 - when I type in the values in the flex interface and check the red5 server console, I see all parameters correct(the ones I passed) except for asterisk server ip that i m trying to connect. Instead, it shows 127.0.0.1 by default and completely ignores the passed ip and regsitration fails.
I am using:
red5 server version: 0.9.1, centos: 4.8(final), red5phone used: sip_47 (tried sip1 as well)
As a desperate measure I tried debugging the source code for red5phone (java and flex files) myself. but when I try to create the environment on my local system, I get several compile errors for missing java packages such as javax.media, org.slf4j, org.red5, etc. really confused and desperate for some guidance. Any tips highly appreciated.
Sunil, I'm also new to this, I would try red5-voicebridge installed in your red5 server.
red5-voicebridge Please let me know if you got it to work.