Actionscript 3 :: Alert Client When Live Stream Is Done?
Feb 6, 2012
I thought that it was the NetStream.Play.UnpublishNotify in the NetStatusEvent but that doesn't get fired when I stop the live stream. The onFCUnsubscribe event does get fired, however, I have a 5 second buffer and it doesn't wait for that buffer. It gets that event almost instantly. What is the correct way to alert a user that the stream is finished?
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?
insert captions into a live flash video stream.[URL]this example uses a Flash client app wich can invoke something like video_nc.call("sendDataEvent",null,inputfield_txt.text);How can do this without any Flash client/environment ? (I of course still use an FMS 3.5) I would like to use a python (or php...whatever) piece of code to extract caption from VBI in the incoming video stream and insert it in the flash stream.
I am publishing video content to FMS with my program to livepkgr application. After i start publishing the vidoe content, files like .bootstrap, .conrol, .f4f and .meta are gettign created inside the livepkgr folder's my stream folder. But when i try to playback via OSMF player, the player is throwing error 1009. This happens for some few minutes. After some 4-5 minutes, the player start playing the live video content properly (.f4f file size is not getting updated for those few 4-5 minutes)
I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.
[Code]....
My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.
I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off. The recording is stopped with the following piece of code:
I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.
Encoder settings: Bit Rate: 150,500,700 FMS URL: rtmp://myserver/livepkgr Stream: liveevent%i?adbe-live-event?liveevent
FMS 4.5
I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct? fC:FMS-HOMEapplicationslivepkgrevents\_definst_liveevent1[code].....
I have 12 display monitors installed in different floors in a building. These monitors display announcements that will be update once in a day. I'm retrieving these announcements from db and storing in an array and displaying it all day long. In addition to this, I have a requirement to display emergency alert messages on the monitors. My Server is a windows 2000 server. I'm using asp for creating the JSON object.
For the emergency alert I am thinking of doing this: Create a page in asp that lets user to enter emergency msg and save to db. Create a page in asp that will check if there an emergency msg in db and show it in a asp page in json. Create a timer that pings this json page every 1 second. If it's available then show it. Is there any other sophisticated method available to poll the server or to send messages from server to client?
I now have managed to get the red5 server up and running and ive been using the samples to stream my webcam live from one computer from another and it works fine.Now to step 2. Making a custom client that autoconnects to my live feed.
where to start looking if I want to try and broadcast a live webcam on a webpage client to server to browser?
I want to be able broadcast a live webcam from a machine in location x to a remote server at location y and for the server at location y to display it on a webpage.
I have posted on here before as acidman but can't remember my password!
How can i stream video live by the help of PHP like live tv? I am willing not to use flash media server. If it is must to use it then which server is free and reliable?
I can't figure out how to publish an audio stream from a client to the server using FluorineFx on the client. We want to stream recorded audio data from the client to the stream via the already established NetConnection. There is a NetStream class in FluorineFx but it has no publish method. The NetStream class in FluorineFx only has the play method. But as far as I understand this plays a stream from the server on the client. Is publish not implemented in FluorineFx or do I miss something?
I have followed the code provided in a thread in this forum on recording a multicast:
[URL]
Basically, it gets aan RTMP stream from a client and attached that incoming stream to an outgoing RTMFP stream with multicast enabeled.
Everything works fine, except, after the client disconnects from the server, the multicast netstream on FMS continues its life. The admin panel shows that netstream as a stream with type Live.
I have tried things like:
ns.publish(false); ns.attach(false);
but the stream keeps staying on the server, how is it possible to get rid of it when the client disconnects?
Possible to place or insert text on live video stream using the FMS?Whether with any solution or plugin.I am a web radio broadcaster and would like to have information on the screen like the station's phone number instead of having to keep reading it out all the time.
I'm having some trouble finding out how you can add metadata to a live stream. I'm streaming the webcam over fms and recording it in main.asc. So far so good. I have 2 applications. One that sends data and one that recieves data. The functionality is more or less like this example. The article says: "Note: If you record the video on the server side (a functionality of FMIS), the injected events are lso being triggered by the recorded file." That is what I want, but I have no idea how to make it happen. The problem is that I can't find any good examles for as3 and I have never looked into as2 (still new to flash in general )
I'm recording a lot of live streams for archiving purposes. Is it possible to somehow (programmaticly) get the timestamp of a certain point of such record?
When I use Adobe Flash Media Server 4.5 publish http live stream. I found a message from Server Log of Manage Servers of Adobe Flash Media Administrator Console. It says that "Failed to record live stream (disk quota exceeded)."
How to create a script of some kind to grab a still picture from a live stream and save it as a JPG file?
In this way a cron job can tricker the script and thereby grab a picture fx every 10'th minute and the picture can be shown on a website so people that are not attending can have a look into what is happening in the live stream.
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.
I'm just starting with ActionScript and I want to make an app, but I'm wondering that what I'm thinking of is even possible.Is it possible to make an app that receives a live stream from my desktop??
Code: var nc:NetConnection = new NetConnection(); nc.connect("rtmp://flashmedia.NunyaBusiness.com/live/"); var ns:NetStream = new NetStream(nc);
[code]....
I am using the above code for a live stream. My quesiton is how do I detect whether there is content being streamed and if not, to show a "Coming Soon" movieclip? I know that a listener would do the trick, but I have no experience with listeners in AS2.
I use wowza server and need to build a flash client to publish different encoding qualities streams. Does it has any open source or paid with source code flash client products?
I know the FMS is good for streaming things video to clients and for clients to publish videos from their attached camera. Is it possible for a client to publish something other than a stream from a connected camera, for example, the contents of my swf stage? Is it possible to draw something like a text overlay onto a published stream?