Media Server :: Detect The Call Of A Function In The Plugin Auth?

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


Similar Posts:


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 :: Call By 3 Buttons The Same Server Function And Return 3 Different URLs?

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

Media Server :: Using FMS2 Eclipse Plugin For 3.5?

Nov 1, 2009

Is it possible to use the FMS2 plugin for eclipse I found on the internet with version 3.5 of FMS?Or will it give to many errors, because coding has changed?

View 2 Replies

Flash :: Media Server - Live Encoder - Plugin Development

Sep 3, 2009

Allright, so i'm searching for information on how to write plugins for FMLE 3.0, the reason is that i need to extend some functionality regarding the metadata injections. So, does anyone here know of an API/Framework/SDK like paper that is a good place to start reading? Any input will be welcome, except "nay sayers" because i know it's possible to make plugins, ive seen one or two out there, just dont know where to start.

PS. I have plenty experience in writing DLL's for windows applications, but i would rather refrain from reverse-engineering FMLE to use windows hooks and insert dll's at run/loadtime, would rather have a more or less "intentional" framework to work with.

View 1 Replies

Media Server :: Way To Pass Rtmp Call For A Live Stream Through A Proxy Server?

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

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 :: Detect Camera Is In Use?

Mar 23, 2010

How to detect camera is in use or not? Adobe says, if Camera.getCamera(); returns null, it means camera not installed, or in use , i use below, then when i start swf, first one is ok, but then i start new instance of app, it throws and error " .... flash 10 r2has stopped" how can i solve that problem...

[Code]...

View 8 Replies

ActionScript 3.0 :: Call Jquery Function + Detect The End Of The Movie

Mar 23, 2010

I have website I am developing and I have an intro SWF that I have placed the following AS 3.0 code in the last frame to call the Jquery function "trigger" ; or I might be able to detect the end of the movie and then fire the function.

PHP Code:

import flash.external.ExternalInterface;ExternalInterface.call("trigger")trace ("the movieEnded");stop(); 

Here is the function in Jquery in my HTML page.

[Code].....

View 6 Replies

Media Server :: Connector SDK - How To Call Server Method

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

Media Server :: Detect Upload Bandwidth To Fms?

Jun 2, 2011

I am trying to get the "bwcheck" application to work on FMS 4 on Amazon EC2, in order to detect my upload speed to the server and provide the best quality stream for my upload speed.
 
The tutorial I follow is this:

[URL]
 
Both are almost identical. However when I compile the .fla to .swf (having changed the URL for my server and application), and after I load the server-side code, I get the following error in my server-side log:
 
Method not found (recData)
 
I understand that apparently it is not finding the method, but I tried getting it off the function in the global scope, tried attaching it to the client, etc. but nothing worked. The original code of the server-side script is:
 
for ( i = 0; i < 1000; i++ ) {
data += "S->C";
}
Client.prototype.recData = function(data)

[Code].....

View 2 Replies

Media Server :: Detect If A Live Stream Is Running?

Jan 21, 2009

With the Flash Media Streaming Server (not the interactive version), is it possible to detect if a live stream is running? I want to show an overview of several live streams on one page. The ones that are not running should show as "offline". The others should show an online thumbnail. I don't want the visitors to have to go to all of the pages only to see that the stream is offline.

View 2 Replies

Media Server :: Detect Webcam Connection In Runtime?

Jul 15, 2010

Is there any way to detect webcam and microphone connections in runtime in flex.Suppose the clients are participated in a videoconnference .One of clients joins the conference without webcam.In meantime he connects to webcam as he in the conference.How to stream  that user video to all connected clints.

View 5 Replies

Detect Upload Bandwidth To Flash Media Server?

Jun 5, 2011

I am trying to get the "bwcheck" application to work on FMS 4 on Amazon EC2, in order to detect my upload speed to the server and provide the best quality stream for my upload speed.The tutorial I follow is this:{URL}Both are almost identical. However when I compile the .fla to .swf (having changed the URL for my server and application), and after I load the server-side code, I get the following error in my server-side log:Method not found (recData) understand that apparently it is not finding the method, but I tried getting it off the function in the global scope, tried attaching it to the client, etc. but nothing worked. The original code of the server-side script is:

for ( i = 0; i < 1000; i++ ) {
data += "S->C";
}

[code].....

View 1 Replies

Media Server :: Detect Packet Loss Or Other Quality Metrics For Inbound Streams?

Aug 5, 2011

So we're trying to come up with a way to automatically assess the "quality" of streams published to an FMS. So far, I've come down to 3 different statistics:

* Round-trip ping time to client (using the Client.ping() method and Client.getStats().ping_rtt.

* A home-grown jitter calculation that compares the deviation between wallclock and media time for an inbound stream, e.g., I get N+/-M seconds of media over a period of N seconds of wallclock time. How big is M on average? (uses Stream.time and Date.getTime()).

* How much packet loss are we getting?

For this third metric, I have the client sending up period reports containing tuples of <media_time, cum_bytes_sent>, where media_time is provided by NetStream.time and cum_bytes_sent is provided by NetStreamInfo.byteCount. I'm then comparing these samples to a similar set of samples obtained on the server via Stream.time and Client.getStats().bytes_in. Unfortunately, these two data sources do not seem to be measuring exactly the same thing. While they are close to each other, the received bandwidth (e.g., measured by the server) always seems to exceed the sent bandwidth (measured by the client) by a small amount (e.g., 0.5% to 2%) on a clean network.
 
The goal of this whole exercise is to enable to server to automatically detect when a client is having problems (either network or local CPU). Among other things, this will trigger us to tell the client to try sending a lower-bitrate stream.

So, my questions:
 
* Is there a method for me to reliably calculate (or obtain) a packet loss factor?  With something like RTP, I could simply look for holes in sequence numbers, but I don't see any APIs that would give me that sort of information via FMS (our inbound streams are usually RTMFP).

* If there isn't a way for me to get a clean packet loss factor, is there another quality metric I should be looking at?

View 12 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 :: Make GetServerStats API Call?

Feb 23, 2010

How to make getServerStats() API call?

View 7 Replies

Media Server :: How To Call A Method In Another Class

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

Media Server :: Unable To Call OnFCPublish Method

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

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 :: FMS Net Connection Call To AMF Gateway Using HTTPS

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

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

Media Server :: Call And Accept Method In P2P Connection

Jan 11, 2012

call and accept method in P2P connection.

View 1 Replies

Media Server :: Making & Tracking Multi Admin Call To FMS

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

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

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 :: 4 - Call An External Program Once A Stream Has Been Unpublished?

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

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 Total Current Connections/Users In Flex

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

ActionScript 3.0 :: Call A Server Function By A Button?

Dec 17, 2009

I need to call a server function by pushing a button. I put the condition on the label.[code]...

View 6 Replies







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