Flash :: Code Own Socket Server Or Use Red5/ElectroServer On Amazon EC2?

Apr 17, 2010

I've been thinking for a long time about working on a multiplayer game in Flash. I need updates frequently enough that ajax requests won't work so I need to use a socket server. The system will eventually have enough objects/players that I would consider it an MMO. I would like to set up a scalable system on Amazon's EC2. (Which probably effects my choice of server) This architecture would hopefully allow the game to grow without many changes over time. (Using a domain decomposition technique or something similar)

Heres my internal debate:Should I

a. Code my own socket server in C++ or Java?

b. Use the free and open source Red5 socket server for Flash?

or c. Pay the licensing fees and go for Electroserver?

I consider myself a decent developer, but am at an impasse as to what road to go down. I'm not sure if I, could develop/would need, the features of one of the prepackaged socket servers.

I'm also not sure if the prepackaged servers would work well in an Amazon EC2 environment and take full advantage of its features.

ADVERTISEMENT

Serve MP3's Using RED5 Flash Server?

Apr 19, 2010

I have installed RED5 flash server and 12 hours after installing it, I still cannot serve a simple MP3 file. So far, If I have understood correctly, you need to create and compile a Java application to simply serve a file!?.... Which seems a little over-complicated to be honest. Never touched Java.I have used the oflademo however cannot change the directory.I basically need RED5 to serve MP3 files from a directory (which i will specify), I will be calling the files as normal in a JW player playlist.

View 1 Replies View Related

Media Server :: Broadcast Multiple Video Chats Using Adobe Flash Player And "RED5 Flash Server"?

Jun 23, 2011

I had a question about RED5 & Adobe... Does anyone know if it is possible to broadcast multiple video  chats using Adobe flash player from "RED5 flash server"?

View 2 Replies View Related

Flash :: Setting Up Amazon Web Services Media Interactive Server

Apr 24, 2011

I've been trying to set up an instance of Flash Media Interactive Server on Amazon Web Services for an AVChat (avchat.net). I signed up for the service here:[URL] I have some simple questions on getting it started --- namely: do I create the FMIS instance myself now that I've signed up, or do I need to go ahead and create it? I see under the EC2 tab I can create an instance under 'Community AMIs' for adobe-flashmediaserver-useast/fms-4.0.1.8011-centos-5.5-ami-1.manifes t.xml Is this what I want? I realize this is a bit of a noob question.

once installed what I'm trying to do is to add a folder for AVChat into /opt/macromedia/fms/applications/ ([URL]). I am assuming that once I do have this instance running, I can move/modify files on the server instance.

View 7 Replies View Related

Flash :: Required On Adobe Media Server On Amazon Web Services

Oct 28, 2011

I have just started using Adobe Flash Media Server on Amazon Web Services. Does anyone know how can I monitor server statistics such as the number of active connections? I have connected using SSH to the server but I cannot know what to do from this point on?

View 1 Replies View Related

Flash :: Connect To Red5 Server From Another Machine?

Dec 27, 2011

I am recording video using Flash and Red5 server and am doing it well,But when Red5 server is installed in another machine am not able to access it from my machine through LAN.am using another machine IPAddress to connect. Example:"rtmp://xxx.xxx.xxx.xxx/echo" When i access in my local machine using "rtmp://localhost/echo" it works fine.

View 1 Replies View Related

Flash - Red5 / Adobe Server Live Streaming

Jun 9, 2010

Is it possible to capture/encode a video file on a slow machine, then upload it live to a Red5 or Adobe Streaming server, and have that server stream to file live to flash clients? If so, what protocol is used to stream the data from the encoding machine to the Red5 / Adobe server? I see a lot of things about RTMP, but am I correct that this protocol is used between Streaming Server and Flash client, but not from encoding machine to Streaming Server?

View 1 Replies View Related

Flash :: Send A Video Stream To A Red5 Server Using Flex?

Jul 2, 2010

I'm trying to send a video stream to a Red5 server using Flex.

My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.

This is the AS3 code that connects to Red5:

# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared

[Code].....

As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.

View 2 Replies View Related

Flash Player With Red5 Server Codec Type Detection

Nov 11, 2010

I use Red5 server 0.9.1 for live streaming from Adobe Flash player to my RTMP protocol transport.I test it with audio data captured from my microphone using flash application and for now transport recieves and recognizes audio packets. For further audio data listening I need to know what audio codec Flash player uses to send data to the Red5 server.Transport doesn't recieve any metadata packets with detailed information about media codec. All I know for now from "connect" message is that publishing side supports the set of audio and video codecs.

View 3 Replies View Related

Flash :: Overlay SWF File Over Live Stream From Webcam On Red5 Server?

Nov 22, 2011

We have a Red5 Server that we use to host a video chat. We are looking for a way to overlay SWF files over the top of a live stream video.For example, we could overlay an SWF animation of snow falling in front of a live stream from a webcam.

View 1 Replies View Related

Actionscript 2.0 :: Stream FLV Videos Live With Red5 Open Source Flash Server?

Nov 19, 2009

I wonder how I can stream FLV videos live with Red5 open source flash server.

I've tried most of the methods I know of, but can not get it to.

script that can stream live FLV videos.

View 2 Replies View Related

Media Server :: P2P Settings For Flash Media Server On Amazon AWS?

Aug 19, 2011

I'm trying to develop a p2p (RTMFP) webcam chat application with AS3 and FMS. For test purposes I've been using "rtmfp://p2p.rtmfp.net" and now I'll use FMS on Amazon AWS.hat I couldn't understand is which application type should I use on FMS? There is four preconfigured application types on FMS, these are live, livepkgr, multicast and vod. I guess live or multicast but I cannot choose between them, I'm a little bit confused. Or maybe I don't have to setup any application?My application scenerio is; a user will connect to FMS and webservice and will get other person's farID from webservice and will be on audio/video chat with remote side as he sends stream. (with one person) Pretty much like sample Cirrus application.Also I've another issue, I also want to publish one person's (consultant in my case) video to several people (customers) at the same time (one to many), customers won't publish any video or audio, they'll only watch and hear consultant. Can I use RTMFP and P2P for that? I guess it will insanely increase publishers bandwidth needs, so should I use streaming on FMS and let customers to get stream from FMS

View 4 Replies View Related

Media Server :: Multicast In Amazon FMS Server?

Nov 4, 2011

We have a problem with amazon FMS 4.0.3 server for enable muticast.In the server we have open all the port for ensure the good works.but when we used the http://public-dns/multicast/multicastplayer/multicastplayer.html, we have this message : The connection attempt to FMS failed.In the server administration we can view the Flash Media Live Encoder session but the multicastplayer cannot connect on the rtmfp://public-dns/multicas

View 2 Replies View Related

Flash :: Error Appears When Resuming The Paused H264/mp4 Streaming Video From Red5 Server

Nov 22, 2010

I just met a piece of error log when I was trying to resume the paused mp4 streaming. Here is the log from the server:

[INFO] [NioProcessor-1]
org.red5.io.mp4.impl.MP4Reader - Frame
position was not found for timestamp:
92000

I'm using Red5 newest 0.9.1 final for mac os x to stream the H.264/AAC encoded MP4 file to my flash app.

And there's no problem when I'm resuming the .flv file.

View 1 Replies View Related

Media Server :: Amazon EC2 AMI - Can It Be Modified

Apr 9, 2011

Wondering if I'm allowed to modify and save the flash ami "adobe-flashmediaserver-useast/fms-4.0.1.8011-centos"?It'd be nice to not have to reinstall and configure everything every time I run an instance.

View 4 Replies View Related

Flex :: InvalidApp Error While Red5's Client Side Code?

Jan 24, 2010

I am trying to make simple chat program using red5 server using flex builder 3.I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving

NetConnection.Connect.InvalidApp
NetConnection.Connect.Closed
or

[code].....

View 3 Replies View Related

InvalidApp Error While Red5's Client Side Code With Flex?

Dec 11, 2009

I am trying to make simple chat program using red5 server using flex builder 3.I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving

NetConnection.Connect.InvalidApp
NetConnection.Connect.Closed
or
NetConnection.Connect.Failed

error.when i try (test is red5 demo code )

nc.connect( "rtmp://localhost/test" ,true);

code then its working.but when i put my folder(firstapp) name in place of test then giving same error.

View 1 Replies View Related

Media Server :: RTMFP With Amazon WebServices?

Sep 27, 2011

I managed to run the FMS on an EC2 instance and I am able to use admin console. So I think I can say, that the server is running. Now I want to connect to the multicast application, which is delivered with the FMS as an example, via RTMFP. I can't get it to work... With an FMS 4.5 development server I didn't experience such problems. It seems to be a problem with the AWS. It might be, that I missed something to configure

View 1 Replies View Related

Media Server :: Running FMS 3.5.3 On Amazon EC2 (Windows 2008)

Feb 8, 2010

Does anyone know of any issues with running FMS on Amazon's EC2 Cloud environment? We're running some live streaming applications, but are hearing reports from users of random disconnects.

View 1 Replies View Related

Media Server :: Amazon E2 AMI RTMFP Connection Limit?

Jun 14, 2011

Are the RTMFP connection limits for the FMS AMI hard limits?  What will happen when the limit is reached, will the server just refuse new rtmfp connections?

View 1 Replies View Related

Actionscript 3 :: Adobe Media Server 4 Cost With Amazon?

Apr 5, 2011

Has anyone tried using flash media server 4 on Amazon web service? I was wondering what your experience was and the costs of running it?

View 1 Replies View Related

Flash :: Can Google App Engine Be Used As A Socket Server

Feb 13, 2010

My webhost has rules against socket servers so I've been looking into GAE.

Does anyone know of a socket server that can successfully run on GAE? I'm using it for flash so anything like smartfox would be amazing if it's possible.

View 3 Replies View Related

Media Server :: Activate FMS4 AMI ( Amazon Machine Image )?

Dec 15, 2010

I just set up a new copy of the official Adobe Amazon Machine Image for FMS4.One show stopper: it seems to require a license key in fms.ini, just like any other FMS4 install.The master log file has "invalid license key" in it. We tried giving it the "Activation key" no dice.There's a license directory in /opt/adobe/fms with 3 .bin files.We tried entering the path to that directory for the license no dice.The docs don't say anything about it.I've spent over 3 hours being transferred around Adobe and listening to elevator music(code).........

View 6 Replies View Related

Media Server :: Streaming For Android Devices Using Amazon AWS And Adobe 4.5

Apr 11, 2012

I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in  <object><embed> and  <video> tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file. What code/solutions are there to get this to play on Android devices?[code]

View 4 Replies View Related

Flash - Adobe Socket Policy File Server?

Jul 16, 2009

Has anyone been able to successfully implement a service to serve the required socket policy file to FlashPlayer?I am running the Python implementation of the service provided by Adobe at

[URL]

and using the following policy file:

<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
</cross-domain-policy>

[code]....

View 6 Replies View Related

Flex :: Create Video Conference And Red5 Server?

Dec 8, 2009

How can I create video conference with flex in client side and using red5 media server on server side?

View 2 Replies View Related

Flash :: Connect Application To Nodejs Server Running Socket.io

May 9, 2011

i'm trying to connect my flash application to my nodejs server running socket.io. To connect via web-browser is no problem. Now the problem, when the socket-server isn't running i get an IOError in Flash what seams alright. Now when i start the server and try to connect again, i don't get an error, but the socket-server doesn't receive a connection either?!

View 1 Replies View Related

ActionScript 3.0 :: Communicate With Server Through Binary Socket To The Server Through IP Address?

Oct 10, 2009

I am working on the web base flash application I am trying to communicate with server through binary socket to the server through IP Address and Port using Action script 3.0 at the server side we are using java. I will like to send binary data string to the server in a clubbed single packet. I dont know the Action Script 3.0 as much.for this We will have to communicate through IP and Port only

View 1 Replies View Related

ActionScript 3.0 :: Flash XML Sockets - Get A Simple Socket Server Test To Work?

Jul 11, 2010

I've benn trying to get a simple socket server test to work for days now and it seems I'm not getting very far.Basically I just want to send some data from flash to the php script and have it echo it out, or anything at all like that I've been working from this tutorial http[url]....I have this basic flash class which just sends a string to the server:

Code:
package{
import flash.net.XMLSocket
import flash.display.MovieClip[code]...

The server side php is the attached script (pretty much this http:[url]....So I keep the php running on my server then run the as class, what happens is after a while (presumably the 15 second script limit in as) I get this error:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: .../networking.swf cannot load data from website.com:9980.at base()

View 1 Replies View Related

Javascript :: Alternatives To Red5 Recorder And Server For Webcam Video Capture?

Feb 26, 2011

I'm looking for a flash script/library to capture video and audio from a webcam and then somehow get a saved flv to my encoding server. I'm not looking for something that will host the videos for me. I just need something simple to capture and then upload. I really want this to be open source and free.

I've done a fair amount of searching and it seems that most of what i can find is either a full blown service with hosting, or the red 5 suite. I've been trying for a day to get something going on with Red5, but honestly I haven't done any flash or java development in over 6 years and this seems way too complicated when all i really want is a flash object i can stick on a webpage.

View 2 Replies View Related

Actionscript 3 :: Make A Simple Video Chat Using Flex Framework And Red5 Server

Mar 26, 2012

I'm trying to make a simple video chat using Flex framework and red5 server. It's an application with 2 video displays. With connection to the server more or less figured out. However, I do not understand how to transfer user1 stream to user2.
Here is functions i use to transfer webcam image to the server and to get the stream.

[code]...

View 1 Replies View Related

AS3 :: C# - Socket / Server MMO Communication

Nov 27, 2010

I'm working on a flash MMO with a c# server. I have a simple messaging protocol for the sockets. When a client joins he sends out this:

[Code]...

View 2 Replies View Related

ActionScript 1/2 :: Getting Information From XML Information Sent To Flash File From The Socket Server

Jul 5, 2009

I'm kinda noobish when it comes to getting information from XML information sent to my flash file from the socket server. OK so for example the server sends me this:

[Code]...

I want to get the name of the user and the X and Y position! Is there a way I can get this information without a load of fuss from functions and other junk remember im kinda noobish.

View 1 Replies View Related

Flash :: Execute An External .exe From A Local .swf Using A Local XML Socket Server (C#)

Jan 7, 2012

I'm developing a game add-on/plugin which replaces a built in feature of an online game. The game loads an .swf therefore, my solution also has to be an swf for it to work 'in-game'.

I would like to be able to have the user press a button in the custom .swf I am making - and this would open an external application (amongst other things). I.e. if there was a button that said Notepad, it would open Notepad.exe on the machine.

My initial thinking was that i could have a XML Socket server 'daemon' runnning (c#) , which i could connect to with flash - however, as both the swf and the daemon are local, flash complained and gave this error: "Error #2010: Local-with-filesystem SWF files are not permitted to use sockets."

The only way i know to fix this - is to change the security settings of flash - not very user friendly!

So! Any thoughts on how I could otherwise go about this? I was thinking a custom http server could do the trick (connected with URLRequest) although i'm not too sure.

View 1 Replies View Related

C# :: .net - Socket Server - Concurrent Connections

Apr 23, 2011

I have made a socket server in C# for a flash game that I am developing, I got the code from somewhere and I am a beginner in c# and .net development . It works fine in practice when connections are made and the server functions correctly. Get 2 concurrent connections at the same time and we have a problem. here is the basic aspects of the socket server below: (alot taken out for obvious reasons) how can I alter this so that it can handle concurrent connections? Should I be threading each response?

[Code]...

View 4 Replies View Related

ADVERTISEMENT