Flex :: Detect FlexClient Disconnect On Longpolling Channel

Jan 26, 2011

I'm developing a chat system and i need to detect the FlexClient disconnect in Java, using the longpolling channel. I can't use the Streaming channel, because of some bugs that this kind of channel still has. Do you have any suggestion on how could i accomplish this? I'm using BlazeDS.

View 1 Replies


Similar Posts:


Flex :: Detect Unplayable Video Channel?

Feb 10, 2010

I'm using NetConnection, NetStream and a flash.media.Video control to play back video files stored on the local machine. Works great for FLVs, and for H.264-encoded MP4s, but for non-H.264 MP4s, I often get audio, but no video.

I realize this is to be expected. What I'm wondering is whether there's a way to reliably detect that the video portion of the file is unplayable, irrespective of the audio. Of the many events available in NetStream, and even in the client callbacks (onMetaData, etc.), I don't see anything that explicitly informs for an unplayable video track -- I see NetStream.Play.NoSupportedTrackFound, and NetStream.Play.Failed, but for these videos -- i.e., playable audio, non-playable video -- I don't get either one, presumably because the audio works.

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 :: Blazeds - Disconnect Client From Server?

Jun 15, 2010

I am using BlazeDS. Does anybody know how to disconnect client from server? Client must be informed about this event.

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

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

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 :: How To Add Security To Channel

Jul 7, 2011

I'm using a Amf channel , How to add security to My channel..

View 2 Replies

Flex :: How Does A Consumer Know What Channel To Use In A ChannelSet

Jun 20, 2010

If you subcribe a Consumer in Flex, you need to assign a ChannelSet to the Consumer. In my case, I create a ChannelSet and then add a Channel to that ChannelSet.Apparently, the added channel is the current channel of the ChannelSet. But what if I would add two Channels to the ChannelSet? Do I need to set the currentChannel before subcribing?If there are two channels in the ChannelCet, and I trigger the login method on the ChannelSet, will both Channels be authenticated and connected?

View 1 Replies

Flex :: RemoteObject Inconsistent Channel Location?

Jul 1, 2009

I have a swf which, for some reason, has four RemoteObjects pointing to the same ChannelId, but they are listing that channel as being at two different spots. In four of the five RemoteObjects, everything behaves as expected, but in the fourth (WidgetService), the version on dev is switching from dev.context.root toloc.context.root. To make matters more confusing, it only does this on the dev server (QA and production are fine, as are local builds).The relevant information from the config files follows:

#This is from build.properties, which is used by Ant
#to build the swf on the server
flex.sdk.dir = /path/to/sdk/flex_sdk_3.2.0.3958

[code].....

View 1 Replies

Flex :: Encounter The Channel.Security.Error?

May 5, 2011

I am encountering a weird problem. I have a flex application that calls a HTTPService from another domain to retrieve some data. I have created a crossdomain.xml in my flex application with <allow-access-from domain="*"/>.

When i run my application http:[url]...., i can retrieve the data without error.But if i run my application http:[url]....., i encounter the Channel.Security.Error.

View 1 Replies

Flex :: Security Amfphp With A Secure Channel

Jul 9, 2011

I have an application running on flex and php, connected using amfphp, i added a secure channel to services.conf of amfphp [code]how do i know if flex is actually using this secure channel? i tried [code]from the php side and they are both false ... but if i remove these checks it works fine, I'm using wamp, with mod_ssl, and working from localhost

View 2 Replies

Php :: Flex/Zend Channel Connect Failed Error?

Jul 6, 2010

I am using Flex and php to develop my project. Everything works great in my local machine.However, when I upload my files to my serverI got the error when loading my flex application.The pop-up error message is

send failed
channel.connect.failed.error
Netconnection.call.Badversion: url:

[code].....

View 4 Replies

Actionscript :: Flex - Sound Channel Is Only Playing In Firefox

Jan 13, 2011

I have made a little mashup mixing maps, translate api and flickr. I get the directions from my map and make mp3 files on the fly to play them at the same time but they only play in firefox and for the rest of the browsers I only get my first sound channel with background music. can't figure out why.

[Code]...

View 1 Replies

Flex :: BlazeDS Channel Connects And Disconnects Immediately?

Sep 9, 2011

I am connecting to a BlazeDS server with a simple Flex component that is merely trying to subscribe to realtime dataHere are the Channels and Consumer

<mx:ChannelSet id="channelSet">
<mx:AMFChannel url="http://localhost:8080/MyApp/messagebroker/streamingamf/"/>
</mx:ChannelSet>

[code]....

View 2 Replies

Flex :: Does A Channel Set On Remote Object Gets Logged Out On Its Own After Some Time Interval

Apr 8, 2009

I have implemented the login capability to my application using Flex(Blazeds)channelset login. But there is a strange problem, after about 2 minutes of inactivity if I try to perform any operation I see that my channelset has been been forcefully logged out Is there some configuration which I need to do in order to prevent this from happening. I tried adding this in my web.xml, so that the session persists but it didnt help my cause.

<session-config>
<session-timeout>10</session-timeout>
</session-config>

View 10 Replies

Flex :: Channel Security Error While Logging Into Two Different Domains From Single App

Jul 1, 2009

i need to connect to two different domains from a single flex application. the problem is the domain other than the current hosted domain is unable to login. letz say i hosted the application at LOCAL server. im able to login to the local server . From the existing application i need a login to the MAIN server too. The problem comes up here. flash security is not allowing login to MAIN server. in crossdomain we allow-access-from MAIN server. but i want access to the MAIN server from LOCAL server. is ther nything i need to put extra in [URL]?

View 1 Replies

Flex :: Flash Channel.Security / Error Unable To Access Remote Resource

Jul 31, 2010

I tried to deploy my otherwise working flex app on a web server (tomcat 6).It threw a Channel.Security.Error.After some research, I became aware that flash movie loaded from flash_movie_domain will not be able to load resource from any other domain.Some suggested adding a crossdomain.xml.However, the crossdomain.xml route doesn't quite make sense.In this case, I am loading resources from a third party web site.My understanding is that I need this third party website to include a crossdomain.xml on their root directory in order for app to function.The third party web service is provided as is. I will not be able to change what's given. Since the third party is providing public access, it already explicitly give permission to the general public. Adding a crossdomain.xml to their root seems to be a redundant act?

View 1 Replies

Java :: Channel.connect.failed Error When Deploy Flex Project To Linux Redhat Server?

Jun 23, 2011

when i do this locally on tomcat server on local development machine it works fine when i brought it over to linux im getting this error.i dont know what to do anymore it should be straight forward but i'm having no luck. i do have a web.xml and i see a broker for my remote access so i just dont know what it could possibly be

View 1 Replies

Media Server :: FMS Disconnect From FME?

Jun 7, 2010

We are new to FMS and have just deployed a FMS 3.5 for a live streaming project.but I seem to be getting a bit of an issue where the FMLE seems to disconnect and reconect to the FMS several times.but some times the FMLE seems not to be able to reconect back to the FMS.  I read somewhere that this bug have been fixed with the FMS version 3.5.3 updater.also I can see the client still connected afoter they drop connection on the admin console.I dont mind setting up the updater but just want to be sure this would fix the problem as I have live web TV on the FMS.Also is there a way to update without loosing all the config? FMS running on Windows 2008 server R2,4mbDual Zeon CPU

View 5 Replies

Media Server :: Disconnect After 5-10 Minutes?

Jul 26, 2009

After 5-10 minutes of use my application disconnnects  all users....does anybody know some general causes of this or how do i fix it...........in the server logs i get code 600 normal disconnect.

View 1 Replies

Media Server :: Fms App Which Won't Disconnect People In IE

Mar 26, 2010

I have an fms app which won't disconnect people in IE unless they close the browser completely. Simply going to another url in the browser leaves their name in the peoplelist. I've tried everything here without success. Even IE 8 shows same problem on Vista. IE on XP works fine as well as some versions of IE on Vista.Firefox, opera, chrome all work fine everytime.The problem, it seems, is IE won't "leave" pages until it's closed no matter what.

View 3 Replies

Media Server :: No Disconnect On Refresh (IE9)?

Apr 19, 2011

When a user refreshes the page in IE9, the disconnect handler isn't called. So in an application like a fms lobby, a user seems to stay in the list when he actually isn't there anymore.

View 2 Replies

Media Server :: TIME_WAIT Then Disconnect When Republishing?

Jun 1, 2010

I am using FMIS 3.5.3 (Linux)  to fork an RTMP stream from FMS to two different CDNs.  My FMS  application does roughly the following:1) Client.prototype.FCPublish()  creates two NetConnections, one for each CDN2) Each  NetConnection's onStatus() creates a new NetStream object if info.code  == 'NetConnection.Connection.Success'3) The stream that's  supplied to FCPublish() is attached to each NetStream4)  .publish(stream.name, "live") is run on eac

View 5 Replies

Media Server :: FMS Connections Doesnt Disconnect

Aug 14, 2011

URL...I am running application instance that implements publisher/subscriber on video streams. Application code is very thin and can be removed completetly if required. In a specific time, randomly, disconnect messages stopped happening which causes the folowing:

1. Streaming service shows decrease of bw per second

2. Users count is increasing linearly.

3. No disconnect messages apears on access.0x.log

View 6 Replies

Php :: Site Allaboutrajni Work Only When Offline(disconnect From Internet?

Apr 2, 2012

The following site only works if you are offline.[URL].. So how do they do this. I have even seen YouTube do something similar. just open YouTube and disconnect net and refresh. You will see the page below.

View 4 Replies

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 :: 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

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

Flex :: Detect TextInput Changes On An Editable ComboBox In Flex?

Jan 26, 2010

If my ComboBox is editable how can I tell if a change event comes from a change to the TextInput or a change in the selectedIndex of the drop down?

Is there a way to check for this in the event object?

View 1 Replies







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