Actionscript 3.0 :: Handling User Connection Disconnect & Reconnect In Stream?

Sep 9, 2009

I have a problem where I'm streaming a video via RMTP from akamai for a video serving site and an issue has come up during QA where a user starts a video stream and then disconnects their internet connection, which causes the video player to go into the buffer state. The problem occurs when they reconnect their internet connection and we'd like to pick up the stream again.

View 1 Replies


Similar Posts:


Media Server :: Live Stream Reconnect / Disconnect Best Practice

Apr 19, 2010

When streaming a live event through FMS 3.5, is there a list of guidelines or best practices to handle the situation when the stream disconnects and should reconnect.Basically, what I do now is wait 20 seconds after the initial disconnect, then close the stream and ask the user to ty to reconnect to the stream again.

View 3 Replies

ActionScript 3.0 :: Reconnect To Socket After Connection Drops?

Dec 22, 2011

I would like Flash to reconnect to a socket if its connection is dropped. I am using the Socket class to establish a connection and then adding an Event.CLOSE listener to the socket. What is a good strategy to reconnect back to the socket if the connection has suddenly closed? Here is a the method I am calling inside the close handler. The connect() method establishes a new socket connection

HTML Code:
private function handleOutage():void
{
// if socket is not connected

[code]...

However, I keep getting the following error:

HTML Code: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation

View 1 Replies

Flex :: HTTPService.disconnect() - No Tcp Connection Drops And Script Keeps On Running On Server Side

Mar 20, 2012

I got a mxml file that launch a script on my http server through a HTTPService.send() call. Since the script on the server side takes a LOOOONG time (it could take even more than a hour) i would like to drop the connection between my air application and server when a button is clicked. Don't know why but calling HTTPService.disconnect() is totally useless... No tcp connection drops and script keeps on running on server side. No HTTPService.cancel() nor set HTTPService var to null worked.

View 1 Replies

Flex - Disconnect A Subrscribed Stream From The Publisher Of The Netstream?

Oct 20, 2010

I have a publisher who publishes a netstream using stratus p2p. This is then connected to by player who subscribes to the netstream.

I believe one can reject the subscriber when the stream tries to connect by using the onPeerConnect method of the netstream's client. However, I would like to boot the subscriber after they have been connected.

There are potentially other subscribers to that netstream so I cannot just close it. How would I boot a particular subscriber without closing the published netstream?

View 1 Replies

Media Server :: FMLE Disconnect From FMS + Users Disconnect On Console?

Mar 30, 2011

when I'm streaming in live :a. FMLE is disconnect for couple seconds (10 -30), stop encoding and then renew the connection and the encodingb. In the same time, I can see users (streams) are disconnecting/ disappear from the console.As said it can happen once in a session, but this disconnect most of the users and they have to refresh their browserto get the live session again.Currently I'm using FMSS 3.5.4 r210, Linux redhat 5.2,6 Intel(R) Xeon(R) CPU 16GB.I found a post named "FMS disconnect from FME" (Jun 7, 2010 3:36 PM by BJWP Ltd)

View 2 Replies

Flex :: Chatroom - Showing Who Is Online And What Happen If The User Close The Web Browser Without Disconnect

Apr 14, 2010

I have developed a simple chat room but how do I go about showing who is online and what happen if the user close the web browser without disconnect, will the user name in the online list be remove immediately? I use mx.messaging.channels.StreamingAMFChannel and set <subscription-timeout-minutes>3</subscription-timeout-minutes>

View 1 Replies

Media Server :: Media Server Can Reconnect If Connection Is Lost During Playback?

Jan 31, 2011

First,i am in project for creating some website with streaming video.The connection to the host is bad and i need to know if Flash media server can reconnect if connection is lost during playback and second,is there some kind of plugin for subtitles,this is very important,If there is a positive answers on those two questions,the third would be "where can i buy it and how"?

View 3 Replies

Keep Loaded Stream Before Close Connection?

Dec 21, 2010

Is it possible to keep loaded stream before close connection? so that server can save bandwidth when user playback without reload stream.

View 3 Replies

ActionScript 2.0 :: How To Live Stream Connection

Jan 28, 2010

I was wondering how can I connect to a live stream camera like this one URL... or others if you know. And after I established the connection to load it in a movieClip and have it in full screen.

View 0 Replies

ActionScript 3.0 :: No Connection To The Server Or The Stream Was Not Found?

Dec 3, 2010

I have a frame that has a movie embedded in and a main menu button.I have several in the presentation that work fine.This one will not.Is there something that will keep a button on the stage from working when movie clip is present.My movie has the following error:The video player is in the connection error state.It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found.It plays fine on the stage. My button code is:

menu_btn.addEventListener(MouseEvent.CLICK, main1);
function main1(event:MouseEvent):void
{
gotoAndStop(51);
}

View 1 Replies

ActionScript 3 :: Akamai OSMF Live Stream Connection Woes

Oct 13, 2010

I know this stream works because of two reasons:
1) It works OUTSIDE of OSMF
2) It works in the akamai support player: [URL]. I don't believe the current akamai support player is using OSMF (which is suprising since they built the predecessor to osmf..)

My question is: How in the world do I play a live stream in osmf? This should be very simple if not automatic. However, I'm getting the following error when I try to play a working live stream:
Error: Stream not found

Which is a bunch of garbage since a non-OSMF player can play it. I have the Akamai Basic Streaming plugin which doesn't seem to be working either.

View 1 Replies

Media Server :: Stop Live *Stream* Per Client, And Keep Connection (for Chat)?

Mar 10, 2012

Is it possible to stop a (live) Stream from playing for a user, but keep his NetConnection open for eg chat functionality?I only see a setBandwidthLimit to accomplish something similar to this, but then, if BW is set to 0, chat won't work.Why isn't there a built in feature to do something of seemingly common necessity like Client.stream.stop/change function to stop or change what video playback the client sees?

View 2 Replies

ActionScript 2.0 :: Detect The 'Connection Speed Of The User'

Dec 3, 2003

At run time, Is it possible to detect the 'Connection Speed of the user' and change the way my preloader works? Say If the user is on a Dial up connection then play the initial 50% of the movie that has been loaded while loading the remaining 50% in background, If the user is on DSL or cable then load the entire 100% movie and so on.

View 4 Replies

ActionScript 2.0 :: Detecting User's Internet Connection

Dec 6, 2005

Is it possible, using Flash, to detect whether or not a user is using Cable, DSL, 56k, etc.?

View 1 Replies

ActionScript 2.0 :: Detect The 'Connection Speed Of The User'?

Dec 3, 2003

At run time, Is it possible to detect the 'Connection Speed of the user' and change the way my preloader works? Say If the user is on a Dial up connection then play the initial 50% of the movie that has been loaded while loading the remaining 50% in background, If the user is on DSL or cable then load the entire 100% movie and so on.

View 2 Replies

IDE :: Detecting User Internet Connection On Release Of Button?

Apr 30, 2009

I am building a stand alone flash file which needs to detect whether the user has an internet connection on the release of a button.

View 3 Replies

ActionScript 2.0 :: Detect The 'Connection Speed Of The User' And Change The Preloader Works?

Dec 3, 2003

At run time, Is it possible to detect the 'Connection Speed of the user' and change the way my preloader works? Say If the user is on a Dial up connection then play the initial 50% of the movie that has been loaded while loading the remaining 50% in background, If the user is on DSL or cable then load the entire 100% movie and so on.

View 4 Replies

Professional :: Handling CLICK Event - If User Click Anywhere On The Stage The Search Bar Will Be NO Visible(OFF)

May 19, 2011

on clicking the Search Icon , a search bar will be visible (ON) if user click anywhere on the stage the search bar will be NO visible(OFF) OR user click on ICON again the search bar will be OFF but it Stage CLICK is triggered without clicking

[Code]...

View 1 Replies

Actionscript 3 :: Error #2032: Stream Error - While Calling Webservices Through An Ssl Connection

Dec 13, 2011

I'm trying to access a webservice with an SSL connection from an AIR application, I can access the webservice and retrieve the data without SSL, but when I try and access it through it I end up getting the 2032 Stream Error. As if what I was attempting to access wasn't available (which in fact it is, since I can easilly access it through my browsers).

[Code]...

View 1 Replies

Media Server :: Live Stream Connection Limit Per Server?

Nov 5, 2011

I Need to Broadcast 20,000 to 40,000 Live Streams.! (Bitrate : 128Kbps / Viewers Per Stream Apprx-10 Server : Adobe FMS Server Amazon EC2 Instance - Bandwidth Apprx 100mbps)My Question is1. How Many Concurrent connections Possible for one Adobe FMS Server? (Amazon EC2 Instance)2. is this possible to use RTMFP for this process? (20,000 Connections Via Amazon Adobe FMS Server EC2 Instance )3. if Possible Over RTMFP then How Many Developer Keys Need for this Operation. (or) Pricing Details for the Developer Key. (or) Any Separate Key[s] Available For Amazon EC2 Instance?

View 1 Replies

Media Server :: Prevent User Publish Stream To FMS?

Mar 5, 2012

I've installed Flash Media Server and send stream to it use Flash Media Live Encoder via [URL]. And on my website, I've embed code to play this live stream via [URL]. All ok!

But, any user can install Flash Media Live Encoder and connect to my FMS, publish his/her stream (because url to publish and view is same) My question is: how to prevent end-user publish stream to my FMS, only allow end-user view my live stream?

View 3 Replies

ActionScript 3.0 :: API That Loop Check The User Is Still Allowed To View The Stream?

Dec 20, 2010

I'm making a plugin that used for posting a http url to the server every 3mins when we open a stream. and the server system will return

- 200 OK
- 400 FAIL.

In case of OK do nothing In case of FAIL stop the stream and open an pop-up window. User can press OK and a new page will be open.

View 0 Replies

ActionScript 2.0 :: Detecting Internet Connection - Check If A User Is Connected To The Internet

Mar 6, 2006

At the end of the movie I would like to check if the user is still connected to the Internet (they maybe on an unstable dial-up connection and lost connection). Is there anyway to do that? I mean, is there a way to check if a user is connected to the Internet using ActionScript?

View 4 Replies

Flex :: VideoDisplay Reconnect After Idletimeout?

Mar 26, 2010

I have a VideoDisplay that is able to connect to a source and play. After the connection times out I want the connection to be re-established when my play button is clicked. Right now when I reset the source and play the videoDisplay, it gets stuck in the loading state.

View 1 Replies

ActionScript 3.0 :: Socket - Keep It Alive / Reconnect Every Time You Need It?

Oct 26, 2009

What would be the better approach for using the Sockets in AS3.

1st) open one connection and keep it alive until the site unloads?

2nd) open a connection, use it, and close it when done; then, open again when I need?

Considering a scenario where some users will make a constant use of the Socket, but others will almost not use it, what would be the better approach? Does an alive Socket connection use too much bandwidth? Does the action of connecting consumes more than keeping it alive?

View 5 Replies

ActionScript 3.0 :: Lost Main Fla. File / Reconnect?

Apr 11, 2012

In an effort to tidy up my large folder I accidentally moved a fla. file and now I cannot open it.

[Code]...

I tried moving the file back into it's original folder but that did not change things. Is there anything I can do or should I start to accept that it's gone?

View 2 Replies

ActionScript 2.0 :: Reconnect To Classes Files Or Folders?

Jul 23, 2010

I am in cs3, publishing as version 7, using actionscript 2. It is asking to be linked to my classes because of the error messages I am receiving.

what to link to in classes. Is it the file, the folder or folders with sub folders?

View 0 Replies

Media Server :: Secure Flash Media Streaming Server 3.5 (live Stream Connection)

Aug 23, 2010

I have Flash Media Streaming Server 3.5 (not Interactive) running on RHEL5.5 x86_64 Linux.All is working well, however how do I prevent unauthorized access to connecting to the live stream and streaming content?How can I setup the server to require a user and password to stream live media to the server?I am new to this product and I have been reading some documentation but I have not found a clear cut answer on how to force a username and password to connect to the server to stream live content only.I am using the Adobe FMS Apache install, what files need changing?[code]I want to lock down a person from connecting to the server on the public internet and starting a live stream?Can this be done with a user name and password?

View 13 Replies

Java :: Flex To Failed Connection, Scrapbook Successful Connection?

Sep 13, 2011

Im trying to make connection from flex to java and from java to mysql. I managed to connect to java, but having error that class not found: com.mysql.jdbc.Driver. But i downloaded mysql.jar, included it added to library, and connection works when i testing it from clipse scrapbook. Dont know what to do, i spend last couple days on this.

Class.forName("com.mysql.jdbc.Driver");
String username = "username";
String password = "password";

[code]....

Basically the solution was simple. Everybody keeps saying to put jar into lib folder, so i done it, but i wasnt realised that i have to put into my servers lib directory, not app lib directory and this miserable mistake cost so much. Anyway i hope this will help for some newbie like me.In this particular situation im using red5, so i putted it into my red5 dist/lib directory and "surprisingly" its started to work.

View 1 Replies







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