Media Server :: 3.5.3 Does Not Discard Clients, Streaming Stops Working?
Apr 29, 2010
We have a FMS 3.5.3 running on a production server, a 2x quad-core Xeon E5345 CPU based hardware with Windows Server 2008 R2 64-bit OS.
The FMS service streams live streams to hundreds of simultaneous Adobe Flash Player 10 clients through RTMP at port 1935.ally with a higher number of simultaneous clients connected (around 1, one can see a rising number of clients of the loaded (single) application (never diminishing) through the Administration Console. It appears that the clients "linger" - i.e. the number only counts up, never down, from then on.
As if this was not sign of problems enough in itself, the bandwidth graph drops to near zero - i.e. it appears that streaming stops working too. Restarting application helps. The logs do not show anything UNTIL AFTER application is attempted unloaded via console. There are messages of various importance in the event log, among these the weird warning "Asynchronous I/O operation failed (Failed to attach to completion port: The parameter is incorrect. 87)." There is more too, which I can provide on demand.
The application is pretty rudimentary. Of the entire API, we only use Application, Client and SharedObject classes. There is a single persistent shared object, and that's it.
We are using a clean install. Only Microsoft supplied and FMS processes are running. Windows Firewall is on though, and has rules for letting in connections on ports 1935 and 1111. We need a stable server, and I have to restart it manually every day, sometimes twice in an hour, which frustrates me.
View 14 Replies
Similar Posts:
Aug 17, 2010
We have Streaming Server installed to stream online-seminars to the clients. We want to manually disconnect some clients during the translation while leaving others online. What is the way to do it? Clients connect to server by opening a web-page on the other web-server with embedded flash player which has the source streamer uri
View 5 Replies
Apr 15, 2010
i need a wey without knowing the index value of spacific client in the application clients array to identify this user for use: application.clients[this client id].call to him only. in addobe halp its says: "Do not use the index value of the clients array to identify users between calls, because the array is compacted when users disconnect and the slots are reused by other Client objects" but it do not say what to use??... i try this 4 ways none working - last 2 throw error:
[Code]....
View 4 Replies
Oct 20, 2011
I am using a flash app. I can send and receive streaming data to FMS by using this app, like the chart I attached. [URL] This app uses RTMP to access to FMS. I want to upgrade this app to display sound level of each client. Is it possible by using Actionscript and FMS? If so, which class should I use?
View 3 Replies
Mar 1, 2010
When broadcasting pre-recorded streams on a live applicationFMS always stops streaming at a certain time...
It can be after 10 seconds, it can be after 2 hours, or it can be after any other time, the frame just freezes on the client and the buffer drops to 0.
any attempt to diconnect / reconnect does not resume the streaming, althought the FMS console registers the connected client, no streaming is ensuing. One of the common events we get on the client in such instances when the streaming stops results in get "NetStream.Play.InsufficientBW".[code]...
View 4 Replies
Jul 14, 2009
I'm using FMS Streaming 3.5.0 r405 on linux servers to stream videos with RTMP/RTMPT. We have decided to use the new proxying function to redirect HTTP requests to a Web server. We did not install the included Apache server, but used a lighttpd server installed on the same machines and configured to listen on port 81. So when a client connects with our player, it tries first RTMP, RTMPT and if it times out on these attemps, we try to go through with HTTP. FMS proxies the HTTP request received on port 80 to the lighttpd server on port 81.
My fms.ini file contains: # Whether to start and stop the included HTTP server along# with FMS.#SERVER.HTTPD_ENABLED = false
# IP (address and) port that Flash Media Server should proxy# unknown HTTP requests to. Leave empty to disable proxying.# With no address, specifies a localhost port.# For example:# HTTPPROXY.HOST = webfarm.example.com:80#HTTPPROXY.HOST = :81
This works well, but after a few hours, the HTTP proxy of FMS does not work anymore. Lighttpd is still responding on port 81. There is no error in all log files. Just stops working! I have to restart FMS to enable again the tunnel. This behavior happens on all my streamers.
View 5 Replies
Aug 25, 2009
I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)
Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.
I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.
View 8 Replies
Apr 30, 2011
Sometimes RTMFP stops working on my server, and I have to restart it for RTMFP to work again.Here is what I saw in the error log :
2011-04-29 05:43:17 26120 (i)2631502 The server rejected an invalid flow. -
2011-04-29 05:44:22 26120 (i)2641213 Connection rejected by server. Reason : [ Server.Reject ] : Adaptor: _defaultRoot_, VHost: TheFMSServer, App: Application/_definst_, (onConnect call
[code].....
View 25 Replies
Feb 10, 2012
I am developing a video player that is almost done, but there is a problem in Bufferbar
I am using a flvplayback for video playing when I use http path for video it show bufferbar working perfectly like below:
Code:
_flvPlayback.source = "http://flash.projectstatus.in/fmsvid/sample.flv";
If I use rtmp path from the fms the bufferbar does not work it shows already full like below:
Code:
_flvPlayback.source = "rtmp://75.126.73.138/vod/flv:sample.flv";
In both case video playing perfectly. Only problem regarding buffering bar.
View 2 Replies
Apr 30, 2009
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?
View 18 Replies
Apr 29, 2010
Just like the title says I am using Flash Media Live Encoder and I have three streams. The encoder is sending the streams just fine but I am not sure how to deliver it to the client. The only one that shows up is "livestream1". "Livestream2" and "Livestream3" won't even come up.
View 2 Replies
Dec 27, 2011
The first event I streamed tonight worked fine for an hour or so then it stopped being accessible from the web. I had no problem viewing the stream on mobile devices though. The log file shows these errors.
[Code]....
I can see the three stream directories get created but only one of them has all the files- bootstrap,control,meta,f4f,f4x. The other two stream directories only contain a control file. The event is streaming perfectly on iOS devices but not on PC's. The stream starts for a second then stops and displays the message 'Unable to connect to the content you've requested'.
View 1 Replies
Mar 15, 2010
I've been experimenting with Dynamic Streaming while in the process of writing a tutorial. The documentation is quite clear on a few points: The keyframe interval in the various encodings should be shortThe bufferlength should be at least 2x the keyframe intervalThe player should sense a bandwidth change, by default, within the 4-second sampling interval and call for a switch. Then, the switch could take as long as 2x the keyframe interval after that. What I'm finding is wildly different behavior than this. It takes anywhere from 10-15 seconds for the player to notice the change and call for a switch, then another 20-40 seconds for the switch to happen. When switching up to a higher bitrate stream, this just means the user gets low bitrate video for longer than they ought to. But when switching down due to falling bandwidth, the buffer runs out and the user stares at the rebuffering sign for a lengthy time - long enough to give up on watching the video, for sure.
I've encoded an H.264 MP4 file at 64, 384, and 768 kbps, at 30fps and an "every 60 frames" keyframe interval. I've streamed it rtmp via two different CDNs that use FMS 3.5, into two different Flash video players (JW Player and Flowplayer). I've restricted my bandwidth on Windows XP with Netlimiter 2.0; and on the Mac with 'ipfw'. I've set bufferlength between 4 and 10 seconds. I've tested switching up and switching down. For up, I start with a 200kbps bandwidth limit. The video starts OK with the correct stream, then at 5 seconds I open up the bandwidth to unrestricted. For testing down, I do the opposite: start at unrestricted and then at 00:05 restrict to 200kbps.
My test page, with both players and sample code is at [URL] n-flash-bitrate-switching/ I also have a couple of screen recordings there showing the behavior of the whole process, both switching up and switching down. I thought I've done everything right here - paid attention to every documented detail, but it works rather poorly. Can someone explain whether this is expected behavior, if the players have implemented dynamic switching poorly, or if I'm doing something wrong?
View 7 Replies
Jun 25, 2010
I'm running FMS 3.5. My live streams and recorde streams work fine. Whenever I am in the Admin console though, nothing displays or reports. These screen shots are displaying the FMS server activity while several videos are being streamed around Europe:
View 1 Replies
Nov 6, 2009
Why can't (or better yet) you kill client stream from server side - I seen some code that FME may call on server side like s= stream.get(streamOBJ.name); s.play(false); delete s; application.gc(); // over kill but still did not work
View 2 Replies
Mar 29, 2010
I'm trying to use SharedObjects to manage some state between my server and clients, and am having a lot of trouble understanding the documentation and can't find any examples that work. Here is what I'm trying to do:
1. Create a shared object on my server in an application instance running on my FMS.
2. Allow clients to receive updates to the state of this shared objects.
1. Create a shared object on my server instance.
2. Set up the proper calbacks so that a client can receive updates to this object.
I suspect that the number of lines involved to accomplis this is < 10, but the examples I've found in the documentation produce compilation errors.
View 7 Replies
May 19, 2010
We are running RedHat Enterprise Linux 5.5. I am told by the Adobe support department that only version 5.2 is supported. However, I have let them know this is basically impossible to do. You can't download 5.2 anymore and if you keep your system patched and updated you have to follow the 5.x branch.
We purchased brand new HP hardware for this server. It is a HP DL380-G6 Dual-Quad-Core Intel(R) Xeon(R) CPU E5540 @ 2.53GHz with 8GB of RAM. The fix at the moment is to restart the FMS system and everything clears itself up for some random amount of time. This this problems happens again.
[Code]...
View 2 Replies
Feb 24, 2010
I have a virtual directory (Storage Area Network) in 'C' drive as well as in "webroot" folder in Flash Streaming Server. What do I need to do to make RTMP videos work from SAN directory on Flash Streaming Server. It works fine for http. RTMP from vod -> application folder works fine. I have done a lot of research and found out that we can use virtual directories for streaming videos. I am unable to find steps on how to use it..
View 4 Replies
Feb 22, 2010
i am trying to stream to clients at the same time..Meaning they all recieve the stream at the same time and it stops at the same time.
View 1 Replies
Jun 2, 2010
I have a shared object of users connected to my application in FMS.application.users_so = SharedObject. get("users_so", false);[code]My problem is the array is not equal in both sides. Is there another technique in order to have both in the same order ?
View 1 Replies
May 18, 2009
This is showing up in my logs, and i have no idea what is causing it and can't find any more Dropping application (stream_app/_definst_) message. Clients not allowed to broadcast message. It doesn't happen very often, about once every 1 to 2 days.
View 1 Replies
May 12, 2010
We have a setup where we have one application that multiple clients use.For each client we setup a seperate vHost on the server so that each client has a FMSCore and FMSEdge process running for their application.We currently monitor the processes to see if there are any problems with them on our production servers, but we would like to know if theres a way where we can link each process to a particular client so that if one goes down we are able to record the effect and notify that client.
View 1 Replies
Jun 3, 2010
I have one application, is like a room of students. So whenever one client (flex client) is connected is like a new student in the room. I have been researching and I found that every new client is stored in application.clientsIf I have 3 students connected, lets say student1, student2, student3, and student4 if I made a trace :
for (var i = 0; i<application.clients.length; i++){
trace("student "+i+": "+application.clients[i].name);
}
[code]......
View 2 Replies
Oct 15, 2010
Im need to send some data between 2 Flash clients. I have an issue whereby there is a probability that there could be firewall issues with communicating over port 1935 or 443 know you can use RTMPT to tunnel video over port 80 but im not sure about sending data objects.
View 2 Replies
Oct 21, 2010
We have one application in which we are using flash media server 2.0.5. We dont know why it's stop taking connection occasionally at that time we can't enter into the managment console. We get a white screen. When we try to enter user name and password it's does not accpet the credentials. We are not getting anything in the log.Port number 1935 and 1111 of the particular system where FMS has placed are working fine.
View 7 Replies
Nov 10, 2009
Can Adobe Flash Media Streaming Server 3.5 run on AMD Athlon Dual Sock Quad Core?I just requested a Dell server to be added to our farm to run as a Media Server and to my surprise, while reading the requirements for FMS it states the following: 3.2GHz Intel® Pentium® 4 processor (dual Intel Xeon® or faster recommended)
View 2 Replies
Mar 20, 2011
I am running a website similar to Ustream and Justin and i am using Linux dedicated server, that have FMS 3.5 Installed. On My site registered broadcasters can stream their live video.
I want to know how can i limit the broadcasters so that they cannot broadcast a live video more then 512bitrate in their encoder.
currently any broadcaster can broadcast a live channel at any bitrate he wants and that is consuming too much of my server's bandwidth.
View 4 Replies
Aug 23, 2010
I have Flash Media Streaming Server 3.5 (not Interactive) running on RHEL5.5 x86_64 Linux.All is working well, however how do I prevent unauthorized access to connecting to the live stream and streaming content?How can I setup the server to require a user and password to stream live media to the server?I am new to this product and I have been reading some documentation but I have not found a clear cut answer on how to force a username and password to connect to the server to stream live content only.I am using the Adobe FMS Apache install, what files need changing?[code]I want to lock down a person from connecting to the server on the public internet and starting a live stream?Can this be done with a user name and password?
View 13 Replies
Sep 29, 2009
We (the university I work for) want to add an IP camera to the top of a building (so it has to be IP, we can't put a machine up there, so USB is out of the question) to stream a live view of the quad. The problem is, I can't find a way to stream any IP Cameras through the flash live encoder. I tried a camera by Axis, but their capture driver only supported MJPEG which the live encoder does not.
View 3 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