Media Server :: Start Vhost Without Restarting Fms?
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?
We are trying to setup FMS so that a section of videos for streaming are restricted to a specific network, while other videos would be available to all to stream. According to what I read, this is best restricted by means of a vhost. However, I've spent 3 days trying to get a vhost to work and am thoroughly stumped.Our current configuration for the _defaultVHost_ is: within vhost.xml, it points the apps dir to ${VHOST.APPSDIR} which points to the default install location. The VOD_DIR within fms.ini points to a separate location: d:contentflash.
tell me the difference between the Allow directive in Vhost.xml file and the one in Adapter.xml file? The PDF on FMS says about Allow in Vhost.xml:"This element is a comma-delimited list of domains that are allowed to connect to this virtual host. The default value isall. If the Allow element is left empty, the only connections allowed are those coming from the same domain."
While it says the following about Adapter.xml:"A comma-delimited list of host names, domain names, and/or full or partial IP addresses from which clients canconnect to the server."I can't see any difference?I'd guess one specifies domains that hosted SWFs can connect to server from, while the other specifies client-side hosts which can connect to the server.. However it is not clear to me which is which.
I have gotten the vhost to work with the owner of the applications folder set to root:rootI need to allow them access to their files by cpanel and for that to work their files have tobe owned by their user name user:user well they vhosts can't be accessed unless itsroot:roo
I have Flash Media Interactive Server 3.5.5 on Windows 2008 server. I developed video chat application (many to many), it's only 1 FMS application with about 50-100 room instances and 1 lobby instance to which all users are connected. There are up to 600 - 700 users at a time which produce about 2000-2500 connections to FMS. Problem I have is with steady raise of memory usage, which if goes little above 2GB will make FMS unresponsive and it would restart itself after about 1-2hours. To avoid that Im restarting FMS manualy every 3-4 days. Interesting thing I noticed is that if I restart FMS from admin console, used RAM memory won't fall at levels as if it would right after whole Windows server is restarted
I am sometimes (sporadically) facing the problem, that I cannot connect to FMS server with FMLE, using username and password.When I then restart FMS everything is working correct again. A customer discribed that he was not able to reconnect to the fms, as soon as he closed the FMLE without stopping encoding process?I am using the default authentication plug-in in FMS 3.5.6 on a 64-bit Debian.Everything else is working correct, only reconnecting with encoding-software (like FMLE) is not working.Is there any possibility to get the authentication working again, without restarting the whole fms process?
I have started the vhost setup. I have cpanel on the server and I added the domain and it resolves to the hosting account just fine pull up www.domain.com and goes to server.
I added the www.domain.com vhost. I pointed the application dir to /home/domain/public_html/applications/
I copied live over to applications dir. I setup user and pass for the virtual host login.
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.
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.
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.
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);
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 ?
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
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.
When I downloaded a developer edition from Flash Media Server page (11 Oct 2011). I tried to follow the setup instruction in readme.htm which comes in the zip of Linux version.I logged in to terminal as root user and call './installFMS' and then the terminal show me:
ERROR: Your operating system is not supported by the Adobe Flash Media Server installer.
Does it mean Flash Media Server Developer Edition cannot work on OS X Lion (10.7)?
I've got a page laid out that houses a nightly live webstream of music at a venue. Every night (except Sunday) the stream turns on from 8pm-2am Eastern Standard Time. Some nights, I notice there is nobody watching the stream, yet the stream plays everyday no matter what. In the interest of saving bandwidth per month, I'm trying to figure out how to only stream if somebody is watching.So basically the camera would be recording locally, and when someone connects to the website something tells the server to start broadcasting. If the person leaves, the server stops broadcasting. Has anyone ever tried doing this? I'm using Influxis for my media streaming and they've assured me I can execute server side scripts.
I'm having some problems on some systems (seems to affect mostly 64-bit systems) where videos streamed from Flash Media Server 3.5 doesn't start from the beginning. I'm using NetStream.Buffer.Full to detect when the video starts. Usually this works ok, but sometimes the video doesn't skips a couple of seconds from the beginning even though the value of NetStream.time property is 0 when this happens.
i had installed a FMS4 developper in server on my centOs. I can connect to my FMS with client with RTMP, but with RTMFP, FMS don't reply. I looked at FMS log and i saw edge. 00.log:
2010-09-30 13:11:53 4984 (e)2631504 RTMFP could not start on edge process for _defaultRoot__edge1. Famille d'adresses non support par le protocole -
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?
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?
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)?
I have installed FMS 4 and have set up a player (longtail) on my website and I am currently streaming videos for my school district using RTMP. Things are working OK, but I do have an issue I have been unable to resolve. I want to allow the user to jump to certain segments of the long video using a hyperlink that specifies the timecode of the start point. In the hyperlink, I pass a variable called 'VidStart' which is the timestamp in seconds. This system works flawlessly within my school district's firewall, but outside the firewall the video loads (slower than within the firewall), but the start point links do not work. Instead of going to the specified timestamp, the video just always from the beggining.
When I downloaded a developer edition from Flash Media Server page (11 Oct 2011). I tried to follow the setup instruction in readme.htm which comes in the zip of Linux version.
I logged in to terminal as root user and call './installFMS' and then the terminal show me:
ERROR: Your operating system is not supported by the Adobe Flash Media Server installer.
Does it mean Flash Media Server Developer Edition cannot work on OS X Lion (10.7)?
i'm wanting to stream video or even just load it into my flash sites and not lag them....anyway i have had a few people tell me to look at flash media server and flash comm server. i have but i am really confused with it all...WHERE DO I START?? WHAT TO KNOW?? HOW TO DO IT??? etc
I've freshly installed the FSM demo on a redhat linux box, and have everything working. From that start screen running on Local Host, I click the "Play video (HTTP)" and that video of a train shows up. Cool. But when I click the link above it ("Play Video (RTMP)") I get an error message: "Connection Error. press Play to try again." and no matter how many times I hit play, I get that same message. The Dynamic stream doesn't work either, and the Interactive sucessfully displays webcam feeds, but doesn't show the "Play Live Stream" button thing. Is there anything special you have to do to get the RTMP stuff working? Some special command or server you have to run?
Would firewalls intefere with things (I'm pretty sure there isn't one on the machine, but I'm flailing wildly here) or would permissions mess things up? I'm completely lost ^_^;; I guess I should also add that there doesn't seem to be any log files. I'm looking under the server install directory, and there isn't even a "log" folder. There isn't one under Apache, either. It confuses me. So far all I can find on the internet is instructions to look at the log files...but if they aren't there... Am I just looking in the wrong places, or are they just not being generated yet? I did a tcpdump with wireshark, and the web app IS pinging port 1935 (for RTMP), but the packets are failling the checksum and are refusing to be reassembled because of that. Is this making sense to ANYBODY?
i'm developing a web site, and i'm trying to let the user record some video from his webcam. I'm using actionscript and flash media server. I got it work in my delevoper enviroment, but when i deployed it to the production server, the webcam can't get connected to the FMS. I'm afraid this is because of port blocking from the firewall. Does anyone knows wich ports are userd for recording from a browser by the Flash Media Server? I open the 1935 port in the Flas Media Server, but it still doesn't work.
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 file .By this code i have done that task
camera = Camera.getCamera(); camera.setQuality(0,80); camera.setMode(videoWidth,videoheight,15,true);camera.setLoopback(false); video.attachCamera(camera);ns.attachCamera(camera);ns.publish(stream, "append");
when user again logged in ,the video which is saved previously start playing,I dont want start that video.I just want to show camera control
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?