Does anyone know the configuration from Red5 to connect to an IP camera? Where and how should I do this?
Typically applications will put video INTO Red5 rather than having Red5 connect to cameras or applications. If you use a language like Flex it's v easy to stream from a web cam to a Red5 app. From there you can have a secondary site to view the stream or saved stream(s).
Related
For some time now I try to figure it out how to create a json rest api and a database, host it locally and make it accessible in lan. I need this for an android app, exactly to parse data from database to app.
I created the json rest and database usimg XAMP but i didn't figure it out how to make them accessible from lan.
After that somebody recomanded me IIS and since then I did'n figure it out.
Some sugestions?
For the web api application, host in the IIS server in some other system. In the mobile application development environment is in same LAN network, then call the api using that web api system ipaddress instead of the localhost.
Developing a multiplayer AIR based Andoid game and need to save high scores. I was considering using local shared objects to save the scores on the server app but after reading the documentation was wondering if remote shared objects might also work.
Can anyone tell me if I MUST use flash media server to use remote shared objects?
Perhaps even my choice of the socket server class is the wrong approach.
What are you using to develop the AIR game? I am using Flash Professional with a code editor separate for as3. You do not need to use flash media server.
I am using Electroserver through Amazon EC2 cloud servers. Electroserver basically builds into as3 the shell of a multiplayer game(rooms, zones, message system).
Socket servers are the way to go though. Electroserver is socket server too.
I'm looking for a way to connect from flash to an IRC server.
The common solution was to use a tunneling service which uses comet/websockets like:
pusher.com
tech.kaazing.com/documentation/dragonfire/howto-irc.html
www.lightstreamer.com
However, since this product is meant for flash, can I connect directly to the irc server instead of going through the tunneling service in the middle?
One proof of concept that i found was lightirc, but they doesn't make it clear if they serve as a long-polling proxy in the middle or the client connects directly to the irc server. The only thing they mention is that I should put crossdomain.xml on the irc server side to bypass the flash security setting, but does it means the client connects to it directly?
Any idea if
I have to connect to my database from android appication. My doubt is how to connect to remote mysql via android application ( jQuery mobile and HTML5 )
Thanks
The way this is done is by creating an API that will feed JSON, XML or a markup language of your choice to your app using AJAX requests. Connecting to the MySQL server through the app is an absolutely terrible idea for 20 different reasons.
I have a basic hosting package that gives me access to create a MySQL database. I can of course host silverlight applications on any site. But how can I work with a database from within Silverlight? I cannot run any service on my hosting provider, they only allow php or perl scripts.
You can use the C# webclient to make HTTP calls to a PHP page hosted on the server. The PHP page can proxy queries/results between the silverlight client and the mysql database.
remember, just because it's not a SOAP/WCF "service" does not mean that it's not a web service. Look into PHP based REST solutions for some nice alternatives that can easily be invoked via silverlight:
http://www.bing.com/search?q=PHP+REST
Edit: As #Spencer Ruport correctly points out in the comments, you of course have to be wary of the fact that the web service will be exposed to the public, and anyone can easily sniff the http traffic between your silverlight application and the server. This enable them to call your service directly so be sure to think about authentication and what it means in the context of your app/data
You can use the WebClient class in silverlight to communicate to a php service. Here is the first google result I found: link