Media Server :: Application.clients[client.id].call - Not Working?

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


Similar Posts:


Media Server :: When One Client Closes Its Netconnection All The Other Clients Of The FMS Are Also Disconnected Automatically

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

Media Server :: Why Application.clients Array Gets Disordered

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

Media Server :: Create A FMS Application That Is Broadcasting Some Data Across Connected Clients Using SharedObject

Feb 8, 2011

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.

[Code]...

View 4 Replies

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

Media Server :: Call Methods Form Server To Client?

Apr 28, 2010

I m working in flex3.0 and i just want to know that how can i call a function from fms server to my AS3.0 (Client Side) code.i tried the syntax client.call(methodname,null,null); but my flex code throw exception unable to call the method.here can i use clientobject.call (methodname,null,null) and is there some special way to declare that method at client side.

View 3 Replies

Media Server :: Call A Particular Client Through FMS?

May 5, 2010

How to call a particular client from fms.Actually i m making a private chat application in which text messg send from one client to another specific client through FMS.So i m confused how gms recognize a particular clients.I am avoiding application .client[] array that contains all the connected users references.becoz it changes at the time of connection and disconnection of client from fms.

View 2 Replies

Media Server :: Write Responder When Fms Call To Client?

Oct 27, 2010

i want to write responder in fms 3.5 here is my code but is not working
 
clientCount = function(AppClient)
{
AppClient.call("fmsping",myResponderSuccess); // fmsping is the function at client side which returns true boolean variable

[Code].....

View 3 Replies

Media Server :: Buffertime Not Working At The Client Side?

Dec 23, 2010

i'm going to develop a remote desktop project like VNC or RDP. The desktop is captured and encoded as H.264. The code of flex client is very simple:

[Code]...

View 1 Replies

Media Server :: Client-side NetStream Webcam Publishing To FMS 4.5 Not Working?

Dec 2, 2011

I'm trying to create a simple application that streams the webcam to FMS 4.5 (running on a Windows 7 machine), and then displays the published stream locally. Here's my code:

import flash.net.NetStream;
import flash.media.Video;
import fl.video.FLVPlayback;
import flash.events.NetStatusEvent;

[Code]...

All traces in the event handlers show the NetConnection connecting successfully, and the netstream publishing successfully. However, I get no video output from this. I've confirmed this using the sample video player in FMS 4.5 as well. There is also a weird traffic pattern reported in the FMS Admin console.There is some traffic (~4K) when the NetStream first publishes, but after that there is no activity.

View 1 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 Replies

Media Server :: Call Accept Dialog Pop Up In Chat Application

Feb 23, 2011

I have made an Audio Video chat application in AS3 and using FMS as my server.I want to make the functionality of a call accept dialog box which pops up when one client wants to call another .Giving 2nd client the control to accept call or not like is done in Skype and all.Can anyone explain how will thisbe done using AS3.

View 2 Replies

Media Server :: Killing Clients Stream From Server Side?

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

Media Server :: Use SharedObjects To Manage Some State Between My Server And Clients?

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

Media Server :: FMS Server Hangs When New Clients Try To Connect?

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

Media Server :: Disconnecting Clients From Streaming Server?

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

Media Server :: Find Client Disconnected When Client Lost Net Connection?

Oct 27, 2010

how can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.

View 1 Replies

Media Server :: Stream To Clients At The Same Time

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

Media Server :: Clients Connected Are Not In Order

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

Media Server :: Clients Not Allowed To Broadcast Message?

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

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.

View 1 Replies

Media Server :: Sending Data Between Clients Using Port 80?

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

Media Server :: Limit Bitrate For FMS Clients Who Are Live Broadcasting?

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

Media Server :: Allow Clients To Record And Save Part Of Live Stream

Jun 16, 2011

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.

View 2 Replies

Media Server :: Auth Addin Doesn't Prevent Non-FMLE Clients From Publishing Stream

Aug 3, 2009

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!

View 1 Replies

Media Server :: It Doesn't Allow Flash Clients To Make Stream's Screenshot (with BitmapData.draw)

Mar 23, 2011

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.

View 5 Replies

Media Server :: Client-server Media Relay Using RTMFP In FMS 4

Sep 23, 2010

I am trying to make clients to connect FMS4 server over RTMFP for my video conferencing application.It is basically a client-server media relay application in which clients with webcam/mic connect the server and the server relays video/audio data to other clients. This application is working perfectly with FMS 3.0 but it was RTMP rather than RTMFP - I simply replaced 'RTMP' with 'RTMFP' in netConnetion and tried to test in Flash Media Development Server 4.0, but it is failed to make a connection from a client - it was working after replacing it back with 'RTMP' of course.

I believe server-client media relay is possibe using RTMFP in FMS4 because Adobe said:"Although RTMFP is often used for peer-assisted networking applications, you can use RTMFP in unicast, broadcast, and multi-point publishing applications as well. Simply replace the RTMP protocol in the NetConnection.connect() call with the RTMFP protocol:" in url...

View 7 Replies

Media Server :: Setup Stream Encoder>>Flash Media Server>>Flash Player Client?

Jan 2, 2011

I am trying to create a flash player to stream an on online Internet radio station using FMS. I chose FMS after being told that I need RTMP server to extract the metadata. Our radio audio is being encoded using a DJ interface called SAM Broadcaster. But for some reason, it does not have an option to send over the stream directly to a Flash Media Server. Only options are either IceCAST or ShoutCAST. How should i setup the stream? Should it be Stream encoder>> IceCAST/SHOUTCast Server>>Flash Media Server>>Flash Player Client. Or should I setup Stream Encoder>>Flash Media Server>>Flash Player Client? Shouldn't Flash Media Server be an alternative to IceCast or Shoutcast?  If that is the case, how do I send over the stream from SAM Broadcaster directly to Flash Media Server without restreaming through another streaming server?

View 2 Replies

Media Server :: Client Returns Server Not Found:rtmp://192.168.10.1:/live When Accessed From Another Pc?

Jun 29, 2010

i have a small LAN of about 8 computers all of which are running windows 7. I have installed FMS and XAMPP webserver on one of the machines. I want to stream live from one PC to all the other PCs on the LAN. I have a webpage with jwplayer embedded in it on my XAMPP webserver that is able to see the live stream when i start it locally. I mean the live stream works fine on the machine with the servers on it. But when i want to view the live stream from another machine in the LAN by accessing the webpage that has the jwpalyer from another machine, The jwplayer returns "server not found:rtmp://192.168.10.1/live" error. I was thinking that maybe a firewall is blocking the 1935 port but i have turned off the firewall of every PC on the LAN. I have unistalled any antivirus program on all the PCs. But i still get the same error when i try to access the live stream from another PC on the LAN.When i run netstat -a -n|find ":1935" i get 192.168.10.2:49184 192.168.10.1:1935 SYN_SENT and i think the request for the stream is sent but the conection is rejected.

This is the code for the webpage with jwplayer embedded in it. maybe it:
<html>head> <title>JW FLV Media Player</title>    <script type="text/JavaScript" src="swfobject.js"></script>

[code].....

View 3 Replies

Media Server :: Use RTMP Over HTTP - Outside Client Gets The Internal IP Address Of The FMS Server?

Jan 8, 2010

i am new on steaming & flash server; when we try to use RTMP over HTTP the outside client gets the internal IP address of the FMS server instead of the NAT one or public IP address, how can we solve this.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved