Media Server :: Monitor Individual Processes For Different Clients
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.
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
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.
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.
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
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 ?
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.
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); }
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.
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:
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.
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.
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.
I'm looking for a solution where clients watch a live stream video and can record part of this stream while watching and save this recording to disk. I can think of several solutions but not sure if any of them is possible:
- The selected part is recorded locally and saved through FileRefence. - The selected part is recorded with FMS though a second NetStream and saved with a unique ID. The user can retrieve the recorded video by download. - Start-time and end-time of the recording are send to the server where some script extracts the requested video from the live stream recording file and return it as a download.
I'm trying to create a FMS application that is broadcasting some data across connected clients using SharedObject. I want only the Application to be granted to set SharedObject properties.
The auth_addin works as expected when using the Flash Media Live encoder requiring a username and password before publishing a stream.However, tools like Wirecast and even the sample broadcasting SWF that comes in the FMS Introduction page can publish a stream without providing any credentials!
I got serious issue while using adobe flash media server (I have media server streaming license). It doesn't allow flash clients to make stream's screenshot (with BitmapData.draw) because this is restricted from server side by default. I found that this trouble can be resolved my updating main.asc file but it seems like replacing main.far with mine main.asc causing error. Could you please help me with resolving this issue because it's extremely important to allow this screens making for user.I used CentOS 5.3 and FMS 4.0.1 r2009 (instaled in /opt/adobe/fms include Apache 2.2). All video is stored in a directory /opt/adobe/fms/applications/vod/media and I put the main.asc file in the directory /opt/adobe/fms/applications/vod/ from the directory /opt/adobe/fms/samples/applications/vod.
Any way to set up individual Flash Access protection settings for each of some <Location /{url-path}> tags in httpd.conf in the Apache. I have found in the documentation that EncryptionScope can be set to content or server. If I set it to server and use FlashAccessV2 as ProtectionScheme, how or where do I specify the Flash Access certifications and so on?
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?
Sometimes flash seems to execute two loops faster that one loop which contains all of the actions that the first two loops contain. Does flash cash processes so that repetitive processes are performed faster if they are performed back-to-back?
I'm developing a multi-player game and I know nothing about how to connect from one client to another via a server. Where do I start? Are there any whizzy open source projects which provide the communication framework into which I can drop my message data or do I have to write a load of complicated multi-threaded sockety code? Does the picture change at all if teh clients are running on phones?
Here's what I want to ho: In firebug, there's a Net tab, where you can see all requests, which javascript is making to the server.I would like to be able to do the same with a flash object.What is the best way of doing this?
I want to make an auto-play for some flash-based web-game, but I don't know how to capture and monitor the request from the flash client to the server.
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)
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.
I'm trying to make a software which sends video and audio data to a flash media server by using RTMP protocol. Currently, my program can communicate with a flash media server correctly. RTMP specifications does not describe about the raw data in video/audio messages, so I muxed raw H.264 and AAC data into video/audio messages and sent to the server. The server seems to accept them, but a video player cannot playback the stream sending from the server. The player just says "Loading..." For a test purpose, I sniffed the network packets between Wirecast and the flash media server and ripped off only video and audio data. Then, I muxed those data into video/audio message and sent to the flash media server. In this case, the video player connected to the server can playback the stream correctly.
I checked the stream sent from Wirecast, the stream seems not to be H.264 raw data because those data are not started from 0x17 instead of H.264 start code. With those situation, I am wondering what kind of container format I should use for H.264/AAC data to the flash media server.
I have to a problem using the Flash Media Interactive Server Feature Explorer. I want use the sample: RecordStream. I can see the instance "RecordStream" in console FMS 3.5. and show me the video in app AIR, but does not save the .FLV in my server.