Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


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

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.

View 2 Replies (Posted: Apr 17 10 at 5:06)

Sponsored Links:

Related Forum Messages For Flash category:
Serve MP3's Using RED5 Flash Server?
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.

Posted: Apr 19 10 at 21:05

View 1 Replies!   View Related
Media Server :: Broadcast Multiple Video Chats Using Adobe Flash Player And "RED5 Flash Server"?
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"?

Posted: Jun 23, 2011 6:21 PM

View 2 Replies!   View Related
Flash :: Setting Up Amazon Web Services Media Interactive Server
I've been trying to set up an instance of Flash Media Interactive Server on Amazon Web Services for an AVChat ( 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- 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.

Posted: Apr 24, 2011 6:17 PM

View 7 Replies!   View Related
Flash :: Required On Adobe Media Server On Amazon Web Services
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?

Posted: Oct 28, 2011 9:52 AM

View 1 Replies!   View Related
Flash :: Connect To Red5 Server From Another Machine?
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 using another machine IPAddress to connect. Example:"rtmp://" When i access in my local machine using "rtmp://localhost/echo" it works fine.

Posted: Dec 27 11 at 4:54

View 1 Replies!   View Related
Flash - Red5 / Adobe Server Live Streaming
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?

Posted: Jun 9 10 at 0:51

View 1 Replies!   View Related
Flash :: Send A Video Stream To A Red5 Server Using Flex?
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);
# omitted code for waiting for connection success, and setting up shared


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

Posted: Jul 2 10 at 10:17

View 2 Replies!   View Related
Flash Player With Red5 Server Codec Type Detection
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.

Posted: Nov 11 10 at 13:31

View 3 Replies!   View Related
Flash :: Overlay SWF File Over Live Stream From Webcam On Red5 Server?
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.

Posted: Nov 22 11 at 19:59

View 1 Replies!   View Related
Actionscript 2.0 :: Stream FLV Videos Live With Red5 Open Source Flash Server?
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.

Posted: Thu Nov 19, 2009 10:15 am

View 2 Replies!   View Related
Media Server :: P2P Settings For Flash Media Server On Amazon AWS?
I'm trying to develop a p2p (RTMFP) webcam chat application with AS3 and FMS. For test purposes I've been using "rtmfp://" 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

Posted: Aug 19, 2011 7:26 AM

View 4 Replies!   View Related
Media Server :: Multicast In Amazon FMS Server?
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

Posted: Nov 4, 2011 9:15 AM

View 2 Replies!   View Related
Flash :: Error Appears When Resuming The Paused H264/mp4 Streaming Video From Red5 Server
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] - Frame
position was not found for timestamp:

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.

Posted: Nov 22 10 at 0:13

View 1 Replies!   View Related
Media Server :: Amazon EC2 AMI - Can It Be Modified
Wondering if I'm allowed to modify and save the flash ami "adobe-flashmediaserver-useast/fms-"?It'd be nice to not have to reinstall and configure everything every time I run an instance.

Posted: Apr 9, 2011 7:17 PM

View 4 Replies!   View Related
Flex :: InvalidApp Error While Red5's Client Side Code?
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



Posted: Jan 24, 2010 6:07 PM

View 3 Replies!   View Related
InvalidApp Error While Red5's Client Side Code With Flex?
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


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.

Posted: Dec 11 09 at 8:26

View 1 Replies!   View Related
Media Server :: RTMFP With Amazon WebServices?
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

Posted: Sep 27 11 at 22:26

View 1 Replies!   View Related
Media Server :: Running FMS 3.5.3 On Amazon EC2 (Windows 2008)
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.

Posted: Feb 8, 2010 1:33 AM

View 1 Replies!   View Related
Media Server :: Amazon E2 AMI RTMFP Connection Limit?
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?

Posted: Jun 14, 2011 12:01 PM

View 1 Replies!   View Related
Actionscript 3 :: Adobe Media Server 4 Cost With Amazon?
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?

Posted: Apr 5 11 at 17:27

View 1 Replies!   View Related
Flash :: Can Google App Engine Be Used As A Socket Server
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.

Posted: Feb 13 10 at 6:45

View 3 Replies!   View Related
Media Server :: Activate FMS4 AMI ( Amazon Machine Image )?
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).........

Posted: Dec 15, 2010 3:42 PM

View 6 Replies!   View Related
Media Server :: Streaming For Android Devices Using Amazon AWS And Adobe 4.5
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]

Posted: Apr 11, 2012 9:37 AM

View 4 Replies!   View Related
Flash - Adobe Socket Policy File Server?
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


and using the following policy file:

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


Posted: Jul 16 09 at 13:44

View 6 Replies!   View Related
Copyright 2005-08, All rights reserved