Media Server :: Connecting Takes A Long Time
Oct 15, 2009
For some reason connecting to Flash Media Server 3.5 takes around 40 seconds. The server is running on Windows Server 2008 (64-bit edition) on a virtual server located in a reliable hosting center and I'm connecting to it over the internet. The server is using built-in Windows Firewall with all the inbound TCP ports required by Flash Media Server opened (80, 1935 and 1111).
If I disable the server's firewall the connection time drops to 20 seconds, but it's still pretty damn long time just for establishing connection. We probably have some company firewall at this end (the client side), but other streaming media services works just fine over this connection.
View 6 Replies
Similar Posts:
Apr 25, 2010
I'm trying to play some sounds in my flash project through action script. However for some reason in my code the call to Sound.play takes from 40ms to over 100ms in extreme cases, which is obviously more than enough to be very noticeable whenever a sound is played. This happens every time a sound is played, not just when that sound is first played, so I dont think its because the Sound object is still loading data or anything like that...
At the start I have this to load the sound:
class MyClass
{
[Embed(source='data/test_snd.mp3')] private var TestSound:Class;
private var testSound:Sound;//flash.media.Sound
[Code].....
This as far as I can tell is following the same process as other Flash programs I found, however none of them seem to have this problem. Is there something that I've missed that would cause the play() method to be so slow?
View 1 Replies
Aug 1, 2010
I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can cause this bloated lead in time?
View 2 Replies
Mar 6, 2012
One strange thing happened at application, connection to the fms server takes few milliseconds but shared object takes few second (more then 20) to connect.
View 2 Replies
Feb 13, 2008
Why? Is there another app I can use to publish it?
View 1 Replies
Jan 12, 2010
I am loading some XML with HTTPService in Flex. It is taking longer than I would like to load. So I want to do some trouble shooting, but in order to tell what is making a difference I need to be able to time the requests and how long they are taking.
What is the best way to time an http service to see how long it took from HTTPService.send() to HTTPService.result
View 2 Replies
Oct 22, 2010
I have a swf file with 545 kb. and i am loading this in a html page using div concept. but it takes nearly 10 seconds to load the swf file. i want to reduce the loading time to 4 to 5 seconds.
View 0 Replies
Aug 18, 2010
why dynamic streaming taking too much time to switch video from lower bit rate to higher bit rate and vice versa. I am doing dynamic streaming in following ways -
var param:NetStreamPlayOptions = new NetStreamPlayOptions();
param.oldStreamName=oldStream();
param.streamName=newStream()
[code]....
I am using duel buffering and that is 3 seconds when video starts and 10 seconds when "NetStream.Buffer.Full". Video taking approximately 30-50 seconds to switch video and when I am calling the above code.
View 6 Replies
Nov 21, 2011
I just created a basic flash file to play a video on my web page and it's taking several minutes to load before it starts playback. I'm using progressive downlaod and the file is in *.mov format and is 84MB in size. At first that seemed large to me for web play back, but I thought it could handle it since I thought the way progressive download works is that it would start playing the first frame right away and progressively play other frames as they download. However, this seems to be downloading the whole file first (or a major part of it) before starting any playback at all.
Is there some kind of setting I'm missing or is my understanding of the download incorrect and the file size is too large? Some vitals: I'm using Flash Pro CS5 - To create my flash file, I used the standard import video wizard and selected the a file that is "on my computer" and "load external video with playback component" and then, I selected one of the standard skins.- To deploy the vidoe on my webiste I have three files:
1) swf file containing the FLV component
2) the swf file related to skin
3) the actual video (84MB, mov file) - Web page includes/embeds reference to swf file
View 12 Replies
Jan 13, 2010
I'm trying to troubleshoot a Flash Media Server working with a little video playback application I wrote a few years ago that has suddenly stopped working.I'm using CS3/Actionscript 3.My app uses the FLVPlayback Component, and was working well last time I checked. I recevied a report that the videos stopped working, and have been looking into it.I figured I'd add a bunch of event listeners to the FLVPlayback's ncMgr.netConnection so I could get debug info on things like io errors, net status, etc.The problem I'm running into is that the netConnection is null when I set it to anything on my Flash Media Server, and adding any event listeners to this netConnection throws errors.Here's what I've tried so far:
Playback of a local FLV file works fine.In the FLVPlayback documentation, I found an example and stole the URL of the stream they were using in the example, and that works fine, although it is an HTTP protocol stream rather than RTMP.Any attempt to access FLV files on my Media Server, which has worked fine in the past, basically cause the FLVPlayback object to sit and hang in "buffering" mode and never progresses beyond this point.The netConnection object in this case is null.Here's my code:[code]........
Again the purpose of this is to troubleshoot the video streaming from the Flash Media Server, and it seems like there is no netconnection to the server being created.Does this mean that the server is not working, or is there a problem with the way I'm trying to access the content on the server?This was all working fine before, and I have set up the server-side application .ASC files and such to allow things to work fine on the server end.
View 6 Replies
Aug 31, 2010
I am working on streaming programs through "Adobe flash Media Live encoder" in my website.The steps that i done for streaming is
* Installed Adobe flash media live encoder
* In the FMS URL entered as " rtmp://myserver ip/live "
* In stream given as "livestream"
* when i click connect the follwing error is displaying " Invalid primary FMSURL "
The website i am going to implement is [url]... which is done using PHP. Is there anything i have to do in coding to connect the media server.
View 1 Replies
Jun 22, 2011
I am trying to set up DVR streaming using FLME. I'm following this tutorial: http:[url]........I'm up to Step 2,
I put in the following information into the FLME:
FMS URL: rtmp://222.222.222.222/dvrcast_origin
Stream: mp4:sample.f4v
Then click 'Connect' , but I get an error "Failure to connect to primary server verify that your server URL and application name are valid and that your internet connection is working and retry". My server is a 32-bit windows 2007 VPS , with FMS running.I don't know if I set up the DVR Cast application correct. All I did was copy the dvrcast_origin into the installationdirectory/applications, then I started a new instance of dvrcast_origin with _definst_...Also, I am running the trial version of FMS, and DVR needs FMIS. Is there a way I can just run FMIS?
View 16 Replies
Jun 24, 2009
I have inherited a custom application on Flash Media Interactive Server 3.0 that broadcasts audio in real time. The custom app is written using Adobe Flash Professional 8 and actionscript 2.0.
A little background of how the custom app works When a user connects to the media server to join a stream, our custom application calls out to a seperate application server (that is not Flash) to determine if the user is allowed to connect to a broadcast stream and which stream they should join. We use Xml.sendAndLoad() to do this. The application server we call sends back Xml to the custom App on the Flash Media Server.
[Code]...
View 1 Replies
Jun 20, 2009
I try to establich the connection with asc file from applications/videochat $connection_string="rtmp://videochat/"; And I'm getting the result from media server
Connecting to the video server...>>The client does not have permission to connect to the application, or the application expected different parameters from those that were passed.>>The connection was closed successfully
View 9 Replies
Mar 14, 2011
I am trying to connect to the Flash media servers from behind a customer's firewall.From behind this firewall the time taken for a response (its usually success) is around 20-25 seconds.The following is the code I am using to make the connection and listen to the events
var nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
var time1:String = (new Date()).toTimeString();[code]........
The delay between time1 and time2 is always 20-25 seconds. From other firewalls and non firewalled networks its usually 3-4 seconds.What could be the reason for this huge delay for a response in this case. I have noticed that the first response is always a "NetConnection. Connect.Success".We are looking to deploy around 20-30 media servers if we can get this thing to work and appreciate any prompt response in this regard.
View 1 Replies
Jul 14, 2010
I'm trying to connect to an FMS server with a Flex application. I can throw the rtmp URL straight in as the source for a VideoPlayer and it will work, but can't figure out how to get it to work with a NetStream. The pure Flash Video element works as in the FMS Flash demos, but is extremely laggy and lacks all the nice functionality of the built VideoPlayer. Is there any documentation on working with FMS with Flex? We're at a point where we need to decide quickly if FMS will do what we need to do or if we should purse other technologies.
View 4 Replies
Jul 29, 2011
I'm trying to stream my webcam to my FMS Server, using AS3, but I get this error message:
[Code]...
View 2 Replies
Jun 26, 2009
i am working on creating a custom application for FMS 3.0 that calls a webservice to validate the user coming in. I have tested the following sample code from the Server-Side ActionScript Language Ref. (See below) The URL has been changed to protect the innocent.
This codes seems to work fine when going to an unsecured site but the innvocation of the service never seems to go out when attempting it over SSL. The Server documentation says that outgoing calls like this should work over SSL. Is this true? If so what do I need to do to get it to work?
[Code]...
View 1 Replies
Apr 26, 2010
I've been using FMS for a few weeks, and feel relatively comfortable with it, but am currently having some trouble connecting to a live stream in a a video conferencing-type application. I suspect I'm leaving some small step out, but am having trouble seeing what that step is.
I have one client application open the video camera, connect to the FMS, and publish it's live camera stream to the server. Something like this:
Connect to the FMS
nc.connect("rtmp://<ip addr>9/chat_test/");
In my connection (success) handler:
cam = Camera.getCamera();
cam.addEventListener(StatusEvent.STATUS, statusHandler);
...
[code]...
However, I keep getting "NetStream.Play.StreamNotFound" errors. This seems relatively straightforward, but I'm clearly missing a small step somewhere.
View 1 Replies
Jan 15, 2011
I installed FMS 4 on my notebook and I was able to access the console without trouble. I used localhost for the server address. When I installed it on a remote server (Windows 2008), I can't get in. I tried the same thing. I opened it from the file system [URL] and I tried localhost but it didn't work. I've tried other values
[URL]
One problem could be that I installed Apache but there is already a IIS server using the port 80. When I look in the service panel, FMSApache says it is starting but not started.
View 1 Replies
Jan 20, 2011
Suddenly mic not connecting to server. I have FP 10.1. 102.64 Windows XP 32 bit and explorer 8. See link which instructs me to "change" but no response.
View 4 Replies
Jan 18, 2012
I was wondering what the difference is between connecting to 1935 and 80. Does one port have an advantage over the other? I know by default 1935 is blocked and it appears to be the perferred port to use, but does port 80 HTTP slow down the stream?
View 1 Replies
May 24, 2009
We have installed Flash Media Server on a Linux machine.It has 2GB of RAM,Fedora 9 with kernel 2.6.27.5-41.fc9.i686, the install required a few packages (compat-expat1 was one) to be installed before we saw the sample page. The sample page takes a few minutes to load and opening the page to connect to the admin console is about the same.
This is currently on our internal network while we try and see how it works. Are there any specifc TCP related kernel tuning parameters (eg in sysctl.conf) which need to be put in place over and above the out-of-box configuration. Any troubleshooting hints which might identify the problem. The install seemed ok nothing in /var/log/messages and checking to see what is running (ps aux | grep fms) I see
./fmsmaster -silent/opt/adobe/fms/Apache2.2/bin/httpd -f ./conf/httpd.conf -d /opt/adobe/fms/Apache2.2 -k start/opt/adobe/fms/fmsedge -edgeports :80,1935 -coreports localhost:19350 -conf /opt/adobe/fms/conf/Server.xml -adaptor _defaultRoot_ -name[code]....
but when we clear our browser cache and go to a page it is taking forever.It is taking about 5 minutes to open up the initial page, but when it is open the videos all seem to come through fine.The server previously had apache on it but I removed that copy and went with the version included with FMS.
View 3 Replies
Oct 4, 2010
Can you access the FMS Start Screen to verify installation remotely? We have a new FMS 3.5.4 installation set up by our IS team, but cannot remote directly into the box to verify the installation per the installation guide. Is there a URL that can be used to access the FMS Start Screen if FMS was installed with Apache?
View 1 Replies
Dec 1, 2010
I have access to a flash media server on a CDN.I want to allow people to easily connect to this server. Currenty, they need to an additional software to connect to the FMS.It would be nicer if they could just connect to the server with their browser.So I assume I need to create a SWF file and connect from this file to the FMS (with Actionscript).The end result would look like the demo of the jquery webcam plugin, only that the SWF file would establish a connection to the FMS and stream the video to the FMS
View 1 Replies
Mar 1, 2010
I'm running FMS 3.5 on RedHat, and have some server side actionscript that is attempting to perform an HTTP GET on a remote URL, e.g:
loadVars.send("http://someurl/");
This works on a Windows XP development server, but not on the RedHat deployment server. Are there any configuration options that I need to be aware of in order to allow my application to perform requests such as these (i.e. HTTP requests to remote servers)?
View 1 Replies
May 26, 2010
I am trying to connect to an FMS application without flash (no SWF). To the best of my knowledge,the only way to accomplish this is thru the admin APIs, is that correct? If so, how do I return meaningful values from the admin API? I can call functions and stuff using the broadcastMsg API call but I can't seem to get back any values. All that is returned is a useless "Success" type message. I have tried using shared objects and the getSharedObjects API call, but the call doesn't return any info on the contents of the shared objects, just their names and some info on their persistance.
Is there another way of accomplishing my goal outside of the Admin API? If not how do I return meaningful variables from the Admin API? Is there a way to hack or extend the admin API?
View 2 Replies
Sep 27, 2010
The problem is a weird problem, because I can connect to the application through an RTMP test site, Adobe Flash Server reconginzes the connection and allows it. But when I try to connect from the flash applet (It's called Videowhisper), the connection doesn't go through. I was wondering if anyone knew what the problem is? I host Joomla (open source networking site) on a WAMP server, and Adobe Flash Server on the same machine. Adobe Flash Server is acception connections, just not from Joomla, for some reason.
View 2 Replies
Nov 22, 2010
I am developing an application in Flash that runs locally and it uses FMS 4.01, locally. I have been using adobe FMS 4.01 for months with no problem. Today I cannot connect to my server and I cannot even play the sample video on the Flash Media Server Start Screen. The sample video for the http plays after I changed the permissions for flash, but rtmp does not play. I have reinstalled the server; 3.5, 4.0 and 4.01, none of them will connect to rtmp. I receive this error on the flash media server start screen that says "the connection timed out".
View 1 Replies
Oct 9, 2009
I am using sendAndLoad heavily in my fms3.5.2 application because it accesses an API on the webserver to execute commands. It calls a PHP file on the webserver which connects to a database, does some processing and returns XML output. Now, LoadVars has been giving me problems for months now. I suspect it is the reason my application crashes intermittently.
Also, lately.. it takes about 2 minutes just for the sendAndLoad to reach the onData stage. I have no idea why. This is not a problem of the PHP taking long to display the XML because if I access the PHP directly using `links` linux command, then it returns practically immediately.
View 1 Replies