Media Server :: Any Way To Get Application To Load Automatically On Start?
Aug 10, 2011
We're trying to implement a load-balancing mechanism between FMS hosts in a virtual "farm". The mechanism we're using is to have the FMSs periodically send "load" data (along with a timestamp) to an application server. That server will then use that load information and timestamp to detect when an FMS server has gone down and to make stream assignments to FMSs. Right now, I've implemented this code via a setInterval() in live/main.asc.
I've added a "return false" to Application.onAppStop() to (according to the docs, I haven't tested this yet) keep the server from shutting down an idle instance. How do I get the interval running before the first request hits the application (and forces the load of the application)? I've tried putting the setInterval in onAppStart() and as a global. In both cases, it only gets executed after application is loaded. Any way to force an application to load (via a config file parameter or local command-line)?
View 2 Replies
Similar Posts:
Nov 8, 2010
I have Flash Media Server installed on Windows Server 2007. I configured the Flash Media Server service to Automatic (Delayed Start), using a network logon instead of the local system account. In case you are curious, I use the network logon for the service because I need Flash Media Server to be able to access media stored on a network share. My problem is that, despite the Automatic start, the service does not seem to start automatically. Also, if I log out of that network account, the service seems to stop. what I can do to make sure that Flash Media Server will always start, as well as keep it running even if no accounts are logged in?
View 1 Replies
Aug 5, 2009
What I'm looking to do is have a flash player that constantly plays a loop of videos, but it automatically switches to our live stream whenever we start the encoder. Is this possible, and if it is...how can I do this?
View 2 Replies
Nov 21, 2010
I have an application on FMS. When a user connect to FMS it will create an application instance. My question is that if all users that connect to it disconnect the instance will be unload automatically?
View 5 Replies
Jun 7, 2010
I have requirement of web conferencing for my website. for implementing that I have gone through google.Many suggested that go for FMS. I have never worked with FMS earlier.And requirement is urgent.Some people write that u hv to coding in Action Script 3 and I dnt knw Action Script. currently i need one to one conferencing...one to many can be done in later phase.
I m working as a developer from last 4 yrs on Microsoft Technologies. how to go about and is it right decision to start with FMS or any other alternative is there. What tools and which edition of FMS will be required?
View 1 Replies
Jan 17, 2010
How can we automatically configure edge from the admin console of flash media interactive server?
View 1 Replies
Jan 12, 2010
Complete log error is (_defaultRoot_, _defaultVHost_) : Failed to load application instance publishLive/live.. Flash Admin Server and Flash Media Server are running on local machineWhen testing I get [object NetConnection]: NetConnection.Connect.Failed When I remove the main.asc file it works...what's going on there?
var nc;var ns;var nsr;
// Called when a client connectsapplication.onConnect = function(client) { // accept the new client's connection application.acceptConnection(client);
[code].....
View 4 Replies
Feb 3, 2010
I'm running Flash Media Streaming Server and have only been serving VOD up until now. I had my network administrator open up port 1935 to the outside world during the setup process and now I can't remember if that was actually required for streaming VOD to clients. Most documentation I've read says that this port should be open, but I seem to recall reading something at one point that suggested it wasn't necessary.
I've just started messing around with publishing live streams using Flash Media Live Encoder to the Flash Media Streaming Server. I have that working without issue but was surprised to find that no authentication is required before a client running the live encoder can publish a stream to the Flash Media Streaming Server. An authentication module is available however it only works with Flash Media Interactive Server and Flash Media Development Server.
If I leave port 1935 open to the outside world, there would be nothing to stop anybody anywhere from streaming video via my server. Anyone else running a default install of Flash Media Streaming Server and with port 1935 open to the outside should see that this is true of their setup as well. I'm wondering if I can safely close port 1935 without limiting the functionality of the server or if there's some way I can require authentication prior to publishing a live stream even though I'm not on the four-and-a-half-times-more-expensive edition of the product.
View 30 Replies
Mar 23, 2012
We have mutiple live streams(games) in our application and one of our requirement is to record the games when they start and end the record after stop.We have written a servere side Code based on guidelines provided in the forums. Our Sample code looks like this.
Client.prototype.startRecord = function( source, destination )
{
trace("Recording Stream: " + source + " to: " + destination);
this.newStream = Stream.get(destination);[code]..............
We have written a PHP page which receives the Game Start and Game Stop and calls the FMS startRecord and stopRecord functions accordingly.We tested this record manuall by passing the values to PHP page and recording works perfectly.Our problem arises when we automate this recording. Every minutes we have 10 games that are created and hence the PHP page calls FMS 10 times a minute to startRecord and stopRecord.Some of the recorded flv are inconsistent and recording is never complete.
Can FMS take such sequential request? We are stuck with this because the recording is partial sometimes.We are using FMS 4 with Red Hat. Any other information will be provided.
View 1 Replies
May 7, 2010
I recently upgraded from FMS 2 - FMIS 3.5.Over our internal network videos stream like a dream!However, accessing them from outside our own network means that they take about 20 seconds to load, or sometimes just get a message saying the server isn't found.This wasn't a problem with the FMS2 and there have been no changes to firewall settings or anything like that since the old server was up and running without problems.I have the new server set to use exaclty the same ports, but wonder if there are some other settings which could be causing this?Networking isn't really my area of expertise, and I have no idea where to start looking to improve things.
View 2 Replies
Mar 7, 2010
So I have a FMS 3.5, which I want to do live streams. The thing is I want several different people to be able to do the live broadcast, and I would like the server locked down at least a little and not allow anyone that wants to, to start a broadcast. With that said, I have FMS 3.5 installed, and I installed the Authentificaiton Add-In (3.0). I added a user to the authentification add-in, but it's still doesn't require a username / password, doesn't even prompt me.
View 4 Replies
Oct 29, 2009
We have an application that works no problems on our server with FMS in test mode. As soon as we enter our FMS license key we get this error: "application is not a valid signed application loading access denied".We removed the license key and it works again, but with user limits obviously, so this is not an acceptable fix.
View 5 Replies
Jan 12, 2011
We purchased FMIS and we are encoding large 15+ hour MP4 recordings using flash media encoder. When opening these large files for playback, which have not been opened recently the player displays the loading indicator for up to 4 minutes! Once it has apparently been cached on the server it opens immediately from any browser even after clearing local browser cache. So a few questions for the experts
1. Why is it taking so long to load the file. Is it because the MP4 metadata is in the wrong format and the file is so huge? I read somewhere that Media Encoder records with incorrect MP4 metadata is that still the case?
2. Once its cached on the server, exactly how much of it is cached. Some of these files are larger than 500mb.
3. What fms settings do you suggest I change. FMIS is running on windows server R2 64 bit, but FMIS itself is 32 bit. We have not upgraded to the 64 bit version. We have 8GB of ram. Is it OK to set FMS cache to 3GB. And would that only have enough room for 3-4 large files, because we have hundreds of them.
View 1 Replies
Oct 5, 2010
Is there any application which can relay another application on Flash Media server? For exmaple I have a "live" application on the server. I want another application, "liverelay" which can basically relay what is coming on the "live" application. Is it possible? If so how can I implement it? Looking forward to a response.
View 12 Replies
May 18, 2009
We produce podcasts from Camtasia Relay. It can output the following to a file system (url/file path combination):
1) html/swf/mp4 and
2) mp3
The Camtasia Relay produces a link to the html file, which contains the swf which links to the mp4.
How can we natively stream these in our fms 3.5 server?
For example: In Internet explorer, would the link be rtmp://server/pathtofile.html -- which has the swf pointing to the mp4? and same fo the mp3: rtmp://server/filename.mp3 If the Camtasia Relay product creates the URL as http:// -- Does this automatically imply a progressive download by the http protocol? And by association, the url needs to be re-written to stream it, versus progressive download?
View 1 Replies
Aug 30, 2010
I am using remote Win Server 2003 R2 via rdesktop. As an "administrator", I installed FMS 3.5 - Developer version using default options. Media Server starts, runs, and appears to work. Admin Server is not running. When I attempt to start it (from Win admin services tools), I get error 1067 (Error registering class: name mismatch (%1$S, %2$S)). Everything done remotely as an administrator.
View 4 Replies
Jul 26, 2011
I have Flash media server 3.5 and it is working fine but now a days Apache service is automatically stoped so all streaming services is stopd then i restart the Flash Media Server after restart FMS goes smothly and all streaming services goes smothly.ut this issue, below are the event viewer detail wehere the appache service stop detail is mentioned.
here is the event viewer details for FMS
Event Type: InformationEvent Source: FMS (Master)Event Category: (258)Event ID: 1413Description:C:Program FilesAdobeFlash Media Server
[code].....
View 2 Replies
Jul 30, 2011
Some time streaming is working fine and even in Admin console i see the bandwidth Grapgh is growing up due to no. of connected usersbut automatically it happen streaming is stop and bandwidth graph is going down till zero then i restart to FMS then streaming goes smoothly and working fine.before restart i check FMS services it is started and also encoder is connected when i restart it goes smoothly.What happen to FMS i don't know and i don't find any error in FMS log how to stop streaming even FMS is connected and started
View 14 Replies
Mar 5, 2012
Dear community, i am searching for 6 days for a solution but i couldnt find. I installed the trial version of Adobe Media Server 4.5. I am trying to host live stream and it is working without error. but when i activate protection (PHDS), server gives en error code: 20...
Here is the server log...
After i could take the Live HDS, i made these settings as described at [url]
My application.xml and event.xml files are:
View 1 Replies
Aug 12, 2011
I have configured FMS on Amazon EC2 I am trying to capture data from my webcam and push it to the server.For storing the webcam i created a new folder but as it is recommended in other forums "You need to replace the signed Live application (main.far) with main.asc in[FMS-Install-Dir]/samples/applications/live/ ;(For more Info: refer to documentations & live/readme.txt) "I am not able to locate samples folder from where i can get my main.asc file
View 4 Replies
Mar 19, 2010
When user first time log into site camera start the capturing and stream is saved in application folder with the streamname(straemname.flv). then user logout and then logged in then i have to append that stream in same straemname.flv filey this code i have done that task
camera = Camera.getCamera();
camera.setQuality(0,80); camera.setMode(videoWidth,videoheight,15,true);camera.setLoopback(false);
[code].....
View 1 Replies
Jun 11, 2010
FMS does not start in win 7.There were some starts but only when first run after the installation. (i checked it 3 times) After the computer reboot, FMS does not start. Whats the problemm ?
View 1 Replies
Jul 15, 2010
onDisconnect function called automatically at any time on script side. idea why it's getting called at random time.tell us how to handle this situation.
View 9 Replies
Mar 27, 2011
This is pretty straight in windows. But how to do the 2 steps in linux?
View 5 Replies
Apr 4, 2011
The server on which FMS was running crashed due to a power failure. FMS is set to start, and it restarted with the server.Unfortunately it restarted with no applications loaded, including the application, which we need to run continuously.Is there some way to ensure that the server always starts with a particular application loaded? The only way I could find to load it was through the systems console.
View 1 Replies
Mar 8, 2011
Is there a way to enable a vhost without having to restart the entire fms server?It seems very horrible that you would have to kill everyone using the server to add new vhost?
View 8 Replies
Dec 6, 2011
I have some problems about installing FMS 4 on a CentOS 6 x64. After installing, FMS doens't start properly. I don't see the videos on the web interface. In the log file master.00.log, i can see these errors messages
2011-12-0608:38:461675(i)2581226Edge (1748) is no longer active.- 2011-12-0608:38:461675(w)2581255Edge (1748) _defaultRoot__edge1 experienced 1 failure[s]!- 2011-12-0608:38:461675(i)2581224Edge (1798) started, arguments : -edgeports ":1935" -coreports "localhost:19350" -conf "/opt/adobe/fms/conf/Server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".
[Code]...
View 8 Replies
Dec 28, 2011
I,m a newbie and one of my requirements is to Start the Record of the Stream as soon as the Game Starts. The Game gets the ID from JAVA and our client wants the stream record from JAVA.
View 1 Replies
Aug 27, 2010
I recently upgraded FMS 3. to 3.5 and whenever we upload video to the VOD folder they automatically get the attribute "a" for archive.They don't work with that so once we go in and take the "check" off the "make ready for archive" off the video will work properly.Is there a way to turn this off?
View 4 Replies
Jan 1, 2011
I have a big issue with FMS 3.0 and specially with netconnections. Sometimes, when one client closes its netconnection, all the other clients of the FMS are also disconnected automatically. I am trying to find an explanation but nothing... It seems to be a bug as, most of the time everything works very well, but sometimes (not often) this strange behaviour happens. I don't know what to do and it's really annoying as it affects the reliability of my application.
View 10 Replies