Media Server :: OnDisconnect Function Called Automatically At Any Time?

Jul 15, 2010

onDisconnect function called automatically at any time on script side. idea why it's getting called at random time.tell us how to handle this situation.

View 9 Replies


Similar Posts:


Media Server :: "onDisconnect" Not Called Up With MS Internet Explorer Users

Nov 8, 2010

We are using Flash media server 3.5 with Windows. We have deconnection problems with visitors using Microsoft Internet Explorer (to be fully confirmed but we are nearly 100% sure) and in chat rooms; there they wait for their turn to speak to an online consultant, sometimes this waiting list can be 10 to 15 strong. Normally, when a client is automatically disconnected from a session, whatever the reason it is the ˜onDisconnect which is called up. Sometimes and with MS Internet Explorer this is not the case : the visitor or user is not anymore present in the chat room, he has quit or he got his interview with the consultant but ˜onDisconnect™ is not launched.

This causes unexpected problems like one or several people in the waiting list being kicked out of the ˜room all of a sudden without explanation for the user. Normally our consultants are on the air for one hour; after this time frame another consultant comes into the same chat room and normally he gets the remaining waiting list from the previous consultant and the previous hour of chat. Sometimes but often, the new consultant coming in sees the first one or the first two of the wainting list kicked out of the list : he then takes the second or third one in the old waiting list.

View 1 Replies

Media Server :: Server Side Recording - Inconsistent When Called Automatically?

Mar 23, 2012

We have mutiple live streams(games) in our application and one of our requirement is to record the games when they start and end the record after stop.We have written a servere side Code based on  guidelines provided in the forums. Our Sample code looks like this.
 
Client.prototype.startRecord = function( source, destination )
{
    trace("Recording Stream: " + source + " to: " + destination);
    this.newStream = Stream.get(destination);[code]..............
 
We have written a PHP page which receives the Game Start and Game Stop and calls the FMS  startRecord and stopRecord functions accordingly.We tested this record manuall by passing the values to PHP page and recording works perfectly.Our problem arises when we automate this recording. Every minutes we have 10 games that are created and hence the PHP page calls FMS 10 times a minute to startRecord and stopRecord.Some of the recorded flv are inconsistent and recording is never complete.
 
Can FMS take such sequential request? We are stuck with this because the recording is partial sometimes.We are using FMS 4 with Red Hat. Any other information will be provided.

View 1 Replies

Media Server :: Execute External Script OnDisconnect  (main.asc)

May 19, 2011

Does anyone know if it's possible to execute an external script with the onDisconnect function on FMS?
 
I'm trying find a better way to log when a user disconnects from a chat application.

View 1 Replies

Media Server :: Fire Ondisconnect Event When Network Disconnect Suddenly?

Aug 25, 2010

how to clear the client entry from Adobe flash Media server 3.5. when net disconnect.i was expecting that on netdisconnect from the client side end(which is connected to FMS) its onDisconnect event fire similarly as it fire for browser close.But when internetdisconnect  ondisconnect event not fires at FMS side is there any way to overcome this or any other event  fire at that stage?

View 6 Replies

Flash :: Media Server - Automatically Configure Edge From The Admin Console Of Media Interactive Server?

Jan 17, 2010

How can we automatically configure edge from the admin console of flash media interactive server?

View 1 Replies

ActionScript 2.0 :: Change The Time For SetInterval Each Time The Function Is Called

Nov 7, 2004

My goal is to change the time for setInterval each time the function is called. Planning to replace myInterval = 5000; with a randomized number. My problem is getting setInterval to recognize the myInterval variable from the function.

[Code]...

View 2 Replies

ActionScript :: Flex - An Object Returned From A Function Call Changed The Next Time The Same Function Is Called?

Jan 10, 2012

I have an AS3 program that calls a function multiple times. The function must return multiple variables, so I created a class for the function to declare an object containing all of these variables. For example, here's my class:

package
{
public class PER
{
[Code].....

Let's say the calling program calls the function, which returns the variables into data_set1 (where data_set1 depends on input variables arg1, arg2, arg3) using:

var data_set1:PER = function_name(arg1, arg2, arg3);

The calling program does some stuff, then calls the function again, but returns the variables into a new variable name, data_set2:

var data_set2:PER = function_name(arg4, arg5, arg6);

My intention is that data_set1 and data_set2 are different (e.g. not linked together).

My question is, given that arrays are passed by reference, will data_set1 be modified to agree with data_set2 upon the 2nd function call? Why or why not?

View 1 Replies

Media Server :: Obtain A "flash Media Server URL Address" Which Is Called "RTMP" On The Encoder Page?

Oct 12, 2009

I am trying to encode and stream live video. I have downloaded both the Flash Media Encoder and Flash Media Server. To complete the process of streaming video, it appears that I need to obtain a "flash media server URL address" which is called "RTMP" on the encoder page. Where can I find this? Is this something that can be downloaded, or do I have to purchase this from a partner like Level 3 communications, AT&T, etc.?

View 1 Replies

ActionScript 3.0 :: Function Not Fully Completing Every Other Time Called?

Mar 26, 2009

The function shown below is trying to take data from a text input and refresh the data displayed. I am trying to get it to do so when the enter key is pressed. But it only refreshes on the second time enter is pressed. The "Enter pressed" is traced twice, but the "Enter Frame" is only shown after the second "Enter pressed" trace.

Code:
trace("Enter Frame")
function locRefresh(evt:KeyboardEvent) {

[code]......

View 4 Replies

Media Server :: Automatically Stream (mp4/swf/html) Mp3?

May 18, 2009

We produce podcasts from Camtasia Relay.  It can output the following to a file system (url/file path combination):

1)  html/swf/mp4 and

2) mp3
 
The Camtasia Relay produces a link to the html file, which contains the swf which links to the mp4.
 
How can we natively stream these in our fms 3.5 server?
 
For example: In Internet explorer, would the link be rtmp://server/pathtofile.html    -- which has the swf pointing to the mp4? and same fo the mp3: rtmp://server/filename.mp3 If the Camtasia Relay product creates the URL as http:// -- Does this automatically imply a progressive download by the http protocol?  And by association, the url needs to be re-written to stream it, versus progressive download?

View 1 Replies

Media Server :: Stream Is No Longer Play From Time To Time (5-8 Seconds)?

Aug 24, 2009

I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).

The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.

View 1 Replies

Media Server :: FMS Service Fails To Start Automatically

Nov 8, 2010

I have Flash Media Server installed on Windows Server 2007. I configured the Flash Media Server service to Automatic (Delayed Start), using a network logon instead of the local system account. In case you are curious, I use the network logon for the service because I need Flash Media Server to be able to access media stored on a network share. My problem is that, despite the Automatic start, the service does not seem to start automatically. Also, if I log out of that network account, the service seems to stop. what I can do to make sure that Flash Media Server will always start, as well as keep it running even if no accounts are logged in?

View 1 Replies

Media Server :: Application Instance Will Be Unload Automatically?

Nov 21, 2010

I have an application on FMS. When a user connect to FMS it will create an application instance. My question is that if all users that connect to it disconnect the instance will be unload automatically?

View 5 Replies

Media Server :: Apache Service Stop Automatically?

Jul 26, 2011

I have Flash media server 3.5 and  it is working fine but now a days Apache service is automatically stoped  so all streaming services is stopd then i restart the Flash Media  Server after restart FMS goes smothly and all streaming services goes  smothly.ut this issue, below are the event viewer detail wehere the appache service stop  detail is mentioned.

here is the event viewer details for FMS
Event Type:  InformationEvent Source:  FMS (Master)Event Category:  (258)Event ID:  1413Description:C:Program  FilesAdobeFlash Media Server

[code].....

View 2 Replies

Media Server :: Streaming Is Automatically Stop Even FMS Is Started?

Jul 30, 2011

Some time streaming is working fine and even in Admin console i see the bandwidth Grapgh is growing up due to no. of connected usersbut automatically it happen streaming is stop and bandwidth graph is going down till zero then i restart to FMS then streaming goes smoothly and working fine.before restart i check FMS services it is started and also encoder is connected when i restart it goes smoothly.What happen to FMS i don't know and i don't find any error in FMS log how to stop streaming even FMS is connected and started

View 14 Replies

Media Server :: Any Way To Get Application To Load Automatically On Start?

Aug 10, 2011

We're trying to implement a load-balancing mechanism between FMS hosts in a virtual "farm". The mechanism we're using is to have the FMSs periodically send "load" data (along with a timestamp) to an application server. That server will then use that load information and timestamp to detect when an FMS server has gone down and to make stream assignments to FMSs. Right now, I've implemented this code via a setInterval() in live/main.asc.

I've added a "return false" to Application.onAppStop() to (according to the docs, I haven't tested this yet) keep the server from shutting down an idle instance. How do I get the interval running before the first request hits the application (and forces the load of the application)? I've tried putting the setInterval in onAppStart() and as a global. In both cases, it only gets executed after application is loaded. Any way to force an application to load (via a config file parameter or local command-line)?

View 2 Replies

Media Server :: FMS - Automatically Switches To Live Stream Whenever We Start The Encoder?

Aug 5, 2009

What I'm looking to do is have a flash player that constantly plays a loop of videos, but it automatically switches to our live stream whenever we start the encoder. Is this possible, and if it is...how can I do this?

View 2 Replies

Media Server :: Upgraded To FMS 3.5 / Now Files Added Automatically Get Archive Property

Aug 27, 2010

I recently upgraded FMS 3. to 3.5 and whenever we upload video to the VOD folder they automatically get the attribute "a" for archive.They don't work with that so once we go in and take the "check" off the "make ready for archive" off the video will work properly.Is there a way to turn this off?

View 4 Replies

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 :: 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 :: Microphone Activity Level At -1 Even Though Microphone.getMicrophone() Is Called, Why?

Oct 7, 2009

I'm setting up an application where I need to record users' voice every so often during the course of the users' interaction with the application.  Recording is fine, and the quality is fine, but now my issue is understandng how Flash handles the microphone when it gets attached to a stream for publishing.Basically, the problem is that when I "publish" my stream, the voice gets cut off (clipped) at the beginning.  So, I initially thought this may have to do with buffer settings on the FMS server side, but it wasn't. Then I investigated client side stuff.  For some reason, my internal mic .activityLevel property is -1 even though I have called Microphone.getMicrophone().  According to Flash's documentation, this shouldn't be the case:
 
activityLevel    propertyactivityLevel:Number  [read-only]Language Version :     ActionScript 3.0Player Version :     Flash Player 9The amount of sound the microphone is detecting. Values range from 0 (no sound is detected) to 100 (very loud sound is detected). The value of this property can help you determine a good value to pass to the Microphone.setSilenceLevel() method.If the microphone is available but is not yet being used because Microphone.getMicrophone() has not been called, this property is set to -1.I am using a timer to investigate the microphone .activityLevel property every 50 milliseconds:
 
package
{
import fl.controls.Button;
import fl.controls.TextInput;[code].....

View 1 Replies

Media Server :: Get NetStream.time On The Serverside?

Jan 26, 2010

I'm using the following code to attempt to get netStream.time on the serverside.....i've tried various ways googled it but have come up short...what code do i need to use so i can track a streams progress from the server side?
 
myStream = Stream.get("home1");
setInterval(time,5000,myStream.time); function time(myStream){  trace(myStream); }

View 2 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 :: Get Total Time Of Streaming Flv?

Apr 4, 2011

using old AS2 code on an fms project.it seems that both server-side NetStream object and client-side NetStream object do not have a totalTime property.my goal is to determine when the flv has completed playing ( has reached the end  visually );so I figured that comparing time to totalTime would work but there appears to not be a totalTime.

View 3 Replies

Media Server :: FMS Has Detected System Time Is Going Backwards

Jun 26, 2006

I have a REGISTERED Flash media server version with update 1 and when i try to start it I have this error in the evnet log : "FMS has detected system time is going backwards;shutting down server" i try to reinstall it, the system clock is ok

View 5 Replies

Media Server :: NetStream Time NaN After A Period Of Inactivity

Jun 25, 2009

I am developing a video player for FMS 3.0 and my client complains that when he leaves the player running overnight or after computer goes to sleep when he comes back the elapsed time displayed as NaN and when he tries to play, nothing happens. Why is this happening? Does it mean that the connection with the FMS dropped and I have to reconnect? How can test for the dropped connection?

View 2 Replies

Media Server :: Connecting Takes A Long Time

Oct 15, 2009

For some reason connecting to Flash Media Server 3.5 takes around 40 seconds. The server is running on Windows Server 2008 (64-bit edition) on a virtual server located in a reliable hosting center and I'm connecting to it over the internet. The server is using built-in Windows Firewall with all the inbound TCP ports required by Flash Media Server opened (80, 1935 and 1111).

If I disable the server's firewall the connection time drops to 20 seconds, but it's still pretty damn long time just for establishing connection. We probably have some company firewall at this end (the client side), but other streaming media services works just fine over this connection.

View 6 Replies

Media Server :: Play 2 Rtmp Videos At The Same Time?

Apr 22, 2010

My swf is playing one video in using NetConnection, NetStream and Video object. If I want to stream one more video simultaneously in the same swf I have a few problems. It works when I create more NetConnection, NetStream and Video objects but is that necessary? The code rapidly becomes complex to handle.
 
Is there an easier way like perhaps share the NetConnection, or something (same FMS server)?
 
Question 2
 
The two videos on the stage are suppose to have different size, placement etc. Still the last one created inherit the properties of the first video display. It also starts playing for an annoying couple of seconds before the first one. How can I avoid that (inherit and delay)?
 
var ns1:NetStream;
var ns2:NetStream;
var nc1:NetConnection = new NetConnection();

[Code].....

View 7 Replies

Media Server :: Multiple Song Playing At The Same Time

Apr 28, 2010

I have developed a Player where I am using FMS to play MP3 files, it works great in normal scenario but when user keep on clicking new songs from Song List (List Component) then the player stated playing all songs. Which It should not do. Is there a way that we can unload previous song before loading new song.

View 5 Replies







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