Media Server :: Call AddEventListener Multiple Times?
Feb 10, 2011
camera.addEventListener( ActivityEvent.ACTIVITY, onTriggerRecordStart );
Or do I make sure that the above script is only called once?
UPDATE
Can I register two different functions to the same event?
View 8 Replies
Similar Posts:
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 1, 2012
FlashMediaServer4.5_x64.tar.gz (fms 4.5.1 release) linux instructions followed, success!
System Information, logs, etc.. Below.
uname -a
Linux poolhdz01.localdomain 3.0.0-16-generic #28-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
Distributor ID: Ubuntu
[Code].....
Maybe out of this information it will be seen why the http:80 login will not accept my credentials.
View 3 Replies
Mar 4, 2011
Somebody I know can't watch because they have a proxy server.The nc.connect() call to get the live stream fails because it goes direct from AS3 to FMS and doesn't go through the proxy server.
View 1 Replies
Dec 26, 2009
I have a question... Can I use the same server side function to send to all lients 3 different swfURL depending on which button pressed from one of them? If the answer is positive...how can I do it?
View 6 Replies
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
Feb 17, 2011
I am using the FMS Connector C++ to do some publishing work. And I am required to call a server side method. I have tried to use the INetConnection::call() method, but it don't seems successful.
The FMS server spec told me to do,
1.call server method,
nc.call("FCPublish" null, streamname);
2. implement a callback function onFCPublsih
nc.onFCPublish = function (info ) {...}
How can I implement these with FMS Connector C++?
The FMS Connector document include too few topic on calling server side method.
View 2 Replies
Jan 19, 2011
Is it possible to have multiple FMS installation running on 1 linux server?This mean that each fmsadmin, fmsmaster, fmsedge, fmscore will run under a specific user. (not vhosts of a single FMS install)How will this impact the performance of the other FMS instances in case there are more of them running on the same server?
View 2 Replies
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
Feb 23, 2010
How to make getServerStats() API call?
View 7 Replies
Mar 18, 2010
how can i use getUserID method in my main.as?
NetConnectionClient.as
package com {
import flash.events.EventDispatcher;
import flash.events.Event;
public class NetConnectionClient extends EventDispatcher {
[Code]...
View 6 Replies
Sep 2, 2010
I am trying to develop a server-side application(splitterApp) using FMS 3.5.2 which would accept an incoming stream from 3rd Party encoders and publish the stream using FCPublish method to an application(edgeApp) on our edge servers. The splitterApp contains 3 classes for performing the activity. So whenever a incoming stream is received by the splitterApp, the main.asc would create an object of type IncomingStream() and push into unPublished array. A timer based job then picks the unpublished stream from the array and invokes StreamController.PublishStream(). The StreamController.PublishStream() method then creates a new PublishedStream() initialised with incoming stream. The method thereafter calls PublishedStream.PublishStream() to initiate net connection to the edge server application(edgeApp). After successful net connection, I call "this.publish_connection.call ("FCPublish", null,this.thisStream.stream.name)".
The edgeApp accepts the publish and therefore performs:
[Code].....
View 2 Replies
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
Jan 5, 2011
How to make an FMS netconnection call to an AMF gateway using HTTPS. It is my understanding that Flash in the browser will utilize whatever HTTPS cert the browser has available for the HTTPS path you are trying to connect. Is there some sort of config or cert trick I need to apply for FMS to make HTTPS connections? I was considering it might be one of the following, but could not find any information on the subject:
-HTTPS cert saved to FMS directory?
-FMS config value for specific HTTPS paths?
-Allow the FMS host/ip to bypass HTTPS on server side?
View 2 Replies
Jan 11, 2012
call and accept method in P2P connection.
View 1 Replies
Jun 4, 2009
I am writing an app that track data/stats on multi FMS servers and that is working fine for my own custom server side functions. What I do is loop thru a list of IP of my FMS servers, call each IP and I also pass the IP to the server side function that get return and I can have my Responder object plug the returning data into an associate arrays (using IP as index) for reporting. Now my problem is when I used the Admin API. Here I was doing the same thing except I don't know the IP of the respnding FMS and I need to capture the data (into arrays etc). I had tried extending the Responder class so I can plug in the IP of the calling server but so far no good. I guess I need a way to know who is calling back
View 3 Replies
Jan 11, 2010
how to detect the call of a function in the plugin Auth.Is there something like getNotifyAction?The idea is to read the username and password of the connection. Serverscript already did but I need to do it with a SQL database so I use the Plugin. helpvar connection: NetConnection = new Conecction ();connection.connect ( "rtmp: / / 127.0.0.1", "username", "password");
View 3 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
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
Oct 31, 2011
Is it possible with server-side scripting for FMS to call an external program once a stream has been unpublished?
View 2 Replies
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
Jan 9, 2011
I'm trying to find out how I can tell how many users are connected to the same FMS application in a flex application:
public function totalConnectedUsers():void{
lblText1.text = "There are a total of " + bindableUserVariable + " Users Connected to the Stream Now";
}
View 6 Replies
May 21, 2009
I am running into some streaming bugs and am wondering if anyone else has come across them. Very grateful in advance for any help as I've been banging my head against this for a week now.
First of all, I'm finding that no matter what value I set for a NetStream's bufferTime property, the NetStream will not begin actually playing until the bufferLength property is over 2 seconds. This is not what Flash documentation says (that the default value of bufferLength is .1 seconds). Could this issue a function of the FMS configuration with my RTMP hosting account? Is it something I can resolve with my asc file?
Also: In my Actionscript 3 app, I need to pre-buffer a number of video streams so that any one of them can be triggered immediately later in the program. I do this by building an array of NetStreams (within a single NetConnection), then playing each of the streams I need to pre-buffer and immediately pausing each too. This is successfully causing them to buffer in the background, so that they're ready for immediate play when I need them. When I do this with just one NetStream, it works fine. But with more, the streams are behaving unpredictably. They are successfully buffering, but when I need to actually play them and I go to unpause them (Netstream.resume), the NetStreams are generally NOT playing back correctly. Their behavior is not consistent, and they mostly play with no video, or no audio OR video. The one exception is the FIRST NetStream that I started pre-buffering, which is the only one that's consistently playing back fine with its audio and video. Again, if I unpause any of the other NetStreams, they play back with just audio, or not at all.
View 2 Replies
Aug 14, 2009
Another question re setting up FMS to do multiple vid conferences:I have 3 or 4 video feeds being generated from different locations, and those 3 or 4 video feeds are going to be consumed by others. Can I do that through the same NetConnection/FMS application? Or do I need to create multiple FMS applications (i.e. one for each feed)? I currently have one feed on a NetConnection, but I'm looking to expand it.
View 2 Replies
Oct 1, 2009
I want to create folders inside of VOD that I can use to store FLV in and them stream them to webpage.When I do this the webpage displays a white screen.It doesn't seem to find the FLV.
View 12 Replies
Dec 11, 2009
I am trying to create a Flex application with a shared viewing experience for users watching video. Specifically, there are a group of users in a virtual room, and one of them is the remote holder. One approach is to have everyone have a video player, and then use our own protocol sent among the different Flash player instances to make sure people are in sync (we have our chat routed over XMPP for the people in the room).
However, we were wondering if there was a simpler way to do it using Flash Media Server. Is it possible to create a synchronized viewing experience in FMS where everyone is always at the same point in the video? And is it possible for 1 person to then have control over that stream (e.g. pause, play, seek, etc.) for everyone connected to that stream?
View 3 Replies
Mar 23, 2010
I have an FMIS 3.5 app where I am attempting to publish multiple streams to an edge server.I have found that if I loop through my list of streams and attempt to publish to the edge server (i.e. as fast as possible), the publishing will fail They succeed if I have some delay between the publish calls.
View 4 Replies
Apr 1, 2010
I was told by my FMS host that even though FMEL can create multiple streams at different bit rates I could not send them. I need to use a different entry point for every stream which meant a different encoding machine for each rate.
View 1 Replies
Jun 17, 2010
Can Flash Media Server 3.5 do the following?. Can it take multiple live streams?. Is it possible to control the ip streams - by using API's in to the Media Servers?.
View 4 Replies
Jul 29, 2010
I can stream live 1 Axis IP camera with FME 2.5. How can I stream multiple IP cameras with FME 2.5?.
View 3 Replies