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?
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.
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.
In Flex you can stream microphone audio to an FMS/Red5 server using NetStream.attachAudio, which requires a Microphone object. Is it possible to stream audio through the NetStream from somewhere other than a Microphone? For example, from a file/embedded resource?
The reason I'm asking is that I'd like to be able to run automated tests that don't require using an actual microphone.
How to send a video data stream from one side written by java to another side written by flex and then display it? I just know that on flex one method is to use netstream class get the real-time video stream and bind with a videodisplay to display it. But which class I should use to send this video stream in java and which class I need to use in flex to receive this flow and pass it to the NetStream class?
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)
I am trying to create my own certificate for a adobe air application, I created one already based on this link[url]...
But when I install my application the publisher field is still set with unknown, which is at the end what I am trying to do, I need to set the publisher with one specific value.
I am trying to upload my demo reel. I compressed it to an FLV file, and used the import video command with the setting' "Load external video with playback component." After selecting my skin and hitting ok, I got a prompt that said "Netstream.play.stream not found." Why isn't this working?
I have a FMS and it works perfekt. What I try to build is a simple "player" for a website where I can listen to the livestream from my FMS. To connect to my stream works fine. But now i want to build a animated volume amplitude. It works with an mp3 who is on my FMS but not with the livestream. I think I found the problem why it does not work but not the solution.
I have following to connect to my livestream:
Code: var nc:NetConnection = new NetConnection(); var ns:NetStream; nc.connect("rtmpe://10.0.0.227/live");
[Code].....
Maybe I must create a new SoundChannel for my NetStream but I don�t know how!?
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.
I would like use NetStream class to stream AAC audio file stored locally on server (because i can't use Sound class, AAC not compatible) How can i do this ? (without flash media server)
I have tried using http protocol, no errors occured, but i receive no audio data.
I am developing a C++ program to connect FMS via RTMP, and then publish a live stream I can't use FMLE here because I need collect the H.264 NALU from somewhere and forward them to the FMS.I write a demo app, which parses H.264 encoded FLV file, and send the VideoTag in the FLV as RTMP Message content for publishing.Finally, I make it run and I can see some frames of video!But the problem is: The video does not play smoothly and it just updates some frames. Then I looked at the NetStream event and found that:Everytime when there is a NetStream.Buffer.Full event, the frame in the video is updated and display correctly But immediately there is another NetStream.Buffer.Empty event followed and the video is frozen.
NetStream.play(streamName, -1); This seems to be working wrong.if I have recorded an flv on server using FMS and FMLE with only audio with name "myaudio" and then after if I try to play a live stream using NetStream.play("myaudio", -1) then it plays the recorded stream. I believe that documentation says that it should start a live stream instead of playing recorded stream as the second argument is -1. Is this a bug in NetStream.play method?
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>
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.
I got a bunch of live stream from FMLE, say: "FMLE_channel1", "FMLE_channel2", "FMLE_channel3". And then on the server side, I created several corresponding republished stream called "channel1", "channel2", "channel3".
On periodical basis, we call Stream.get("channel1").play("FMLE_channel1", -1, 10, true) every 10 seconds. Similar things were done on the second channel & third channel.Soon after the above Stream.get("channel1").play() call, I should get the following events in sequence:info :NetStream.Unpublish.Successinfo :NetStream.Publish.Startinfo :NetStream.Play.Resetinfo :NetStream.Play.Start In the above case all are happy. Clients can view channel1, channel2, channel3 well.But then after a while, one of the three channels, in most case it would be channel1, will not be viewable.
With the server trace info, I found that after the Stream.get("channel1").play() call, only the following two events exists:
info :NetStream.Unpublish.Successinfo :NetStream.Publish.Starti.e. I was missing the play.reset and play.start event.I further checked and confirmed that the FMLE was publishing all three channels fine to the server. I was able to view the "FMLE_channel1" from flash clients, but not the republished "channel1". the version is FMS 3.5.0.
I am creating an iPad app with Flash CS5. In my app, I am trying to load some dynamic XML from a server. Whenever I click the button to initiate the load, the app immediately aborts and I am taken back to the desktop. Here is my load routine that is run when the button is clicked:
protected function SendRequest():void { var url:String = GetURL(); var request:URLRequest = new URLRequest(url); request.method = URLRequestMethod.POST; request.data = GetVariables(); [Code] ..... I have tested this app on my desktop computer within CS5 and it works fine there.
I'm just trying to figure out this error message that comes up when I am importing a video into flash. It says: 'NetStream.Play.StreamNotFound: Adobe flash tried to play a live or recorded stream that does not exist. Source can't be found'
I'm making a small video players in AS3, and I've found that after calling NetStream.pause() or NetStream.togglePause(), no status messages are being fired any more.If I click the "pause" button while the video is buffering, I never get the Buffer.Full message.Here is some code:
_connection = new NetConnection(); _connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler); _connection.connect(null);[code].....
I am working on an app that will take a snapshot of an rtmp stream of an archived video, save it to a file, and ExternalInterface the file name to the hosting page to javascript it up for display.
I actually have all pieces working great. The only time an error is thrown is when I pause the video, seek to somewhere, and then try to take a snapshot. Then there is a runtime error of: SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: mySwf.swf cannot access rtmp://myFlashServer/myApp. No policy files granted access.I've seen post after post of suggestions and have tried them, but without success.
I have the crossdomain.xml and my FlashMediaServer security setup fine (it is actually working, except for this one glitch). It just seems to be the pause-then-seek-then-BitMapData.draw() combination which is creating issues.
Another weird thing: after the error is thrown, if I resume the stream and take a snapshot, it works flawlessly again.
I have an interactive Flash simulation that I have imported into SABA Publisher. I need for the Flash file to communicate with SABA, basically returning that the user has successfully completed the simulation. SABA is supposed to be able to receive data from Flash.
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
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.
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.
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.
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
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
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.