Detect Latency When Playing Live Video Streams From FMS?

Sep 25, 2010

Because of network latency,there will always be latency, how to know how many seconds the latency is with ActionScript?

View 2 Replies


Similar Posts:


Media Server :: Playing Recordings When No Live Streams Available

Jun 1, 2011

I am able to record live streams on server side. Now I am looking for an option to play recorded streams on server side when no one is publishing a live stream. Currently I am able to record all live streams that are currently being published in /opt/adobe/fms/webroot/live_recorded Folder. All the recorded streams are saved in stream.f4v format. I want to change main.asc in livemyapp folder in such a way that if any one is not publishing live streams of the name "abc" then automatically the client is served with the previously recorded abc.f4v in his browser.

Here is main.asc
/* * application.onAppStart:* is called when application load. It contains Live (out of the box) * application specific initializations. */
application.onAppStart = function(){ // Logging
trace("Starting Live Service...");
[Code] ....

What should I write in main.asc so that if a client is requesting to watch a stream and if that is not being published at the moment, he should be served the recorded version of that stream.

View 1 Replies

Media Server :: Live Video/audio Chat Application - Latency Time Using FMS 3.5 And FLEX

Dec 9, 2010

I've build a live video/audio chat application. All works fine only the issue is latency of 5 secs. I'm using FMS 3.5 and FLEX.

View 1 Replies

ActionScript 3.0 :: Live Flash Video Streams Broadcasted?

Oct 23, 2009

How are live flash video streams broadcasted? I am guessing that as the broadcast is recording, the people that are watching are watching what has been recorded to an flv file a few seconds ago, making it 98-99% live, since it is a few seconds off of the actual recording time.

View 0 Replies

ActionScript 3.0 :: Detect If A NetStream Video Is Live?

Jul 29, 2010

Is there something i can check to see if a NetStream Video is a live stream? I have a DVR app, need the player to snap to live point (if it is live - seek(100000) ? or start from the begining if a recorded video - Ideall a boolean if the stream is live or not...

View 9 Replies

Actionscript 2.0 :: How To Detect When Video Finished Playing To Play Next Video

May 31, 2010

How can I detect when a video has finished playing a.k.a stopped playing, so I can tell flash to play the next video in an array?

This is my code:

Code: Select allvar x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();

[code]....

View 1 Replies

Actionscript 2.0 :: Detect When Video Finished Playing, To Play Next Video?

Aug 17, 2009

How can I detect when a video has finished playing a.k.a stopped playing, so I can tell flash to play the next video in an array?

This is my code:

Code: Select allvar x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();
var desc:Array = new Array();

[Code]....

View 1 Replies

ActionScript 3.0 :: Way To Detect Latency

Apr 21, 2011

I need to calculate the latency means time difference between the two user machines the scenario is: 1. App 1 publishes stream 2. App 2 play the stream published by App 1 Now in App 2 I need to show the time difference between the App 2 and App 1 time. Say if current time on App 1 is 10:46:30 and on App 2 it is 10:50:20 then need to display the difference. How to send the time value to App 2 from App 1 as time zones for the two users may be different.

View 1 Replies

Actionscript 3 :: Detect When A Flash Video Is Playing / Not

Jan 21, 2011

I have a NetConnection attached to a NetStream, which is in turn attached to a Video. As you can guess, this is a video player. I've looked through the public properties of all three classes and could not find an "isPlaying" property - a boolean that would tell me video is currently running (and not paused, stopped, nor corrupted). [code]...

View 2 Replies

Actionscript 3.0 :: Detect If NetStream Video Is Playing Or Not

Feb 11, 2010

I'm sure this is a simple question, but I just can't crack it. In my video player I want to detect if the current status is playing or paused. But I can't figure out where this info comes from. Is it a property of the ns object?

View 4 Replies

Media Server :: Record A Live Video Stream Playing On An FLVPlayback?

Mar 22, 2012

How to record a live video stream playing on an FLVPlayback?

View 1 Replies

Javascript :: Detect Time On A Playing Flash Video?

May 13, 2010

I have a video playing on my page. I want to show and hide some div's when the video reaches a certain point. Lets say hide something on 10th second and show it again on 20th second.I can easily do it in HTML5 with video tag and currentTime attribute but for IE I have to create the same functionality and I think with flash based videos (from YouTube or something like that).Is there a way to detect the current time of a video playing on my website, embeded from YouTube, Metacafe or any other video sharing site?I know I could detect it in flash and make it run some JavaScript function but I don't have flash nor have the skills to do it in AS3.

View 2 Replies

ActionScript 2.0 :: Detect Which External Flv Is Playing In A Video Array?

Apr 8, 2011

I'm using a video array to load external flvs randomly for a movie quiz game I am building. Is there a way to code my actionscript so that I can identify which flv is playing randomly so that I can choose and use a specific animation that is to go with that video?This is my code:


// video array set up
var videoArray:Array = new Array({vid:"question1.flv", ans:"school of rocketeers"},
{vid:"question2.flv", ans:"supermanhattan"},[code]......

View 1 Replies

Actionscript 3 - Detect TCP Connection Close When Playing Flash Video

Feb 15, 2011

On the Flash client side,how do I detect when the server purposely closes the TCP connection to its video stream? I'll need to take action when this occurs - maybe attempt to restart the video or display an error message. Currently, the connection closing and the connection being slow look the same to me. The NetStream object ushers a NetStream.Play.Stop event in both cases. When the connection is slow, it usually recovers by itself within seconds.I wish to only take action when the connection is closed, not when it is slow.Here's how my general setup looks like. It's the basic NetConnection->NetStream->Video setup.

this.vidConnection = new NetConnection();
this.vidConnection.addEventListener(AsyncErrorEvent.ASYNC_ERROR, this.connectionAsyncError);[code].....

View 2 Replies

Media Server :: Possible To Adjust FPS,video Size And Quality Per The Bitrate While Playing A Live Stream?

Jul 30, 2010

So far , I only found tutorials on control these attributes while publishing the stream

View 15 Replies

ActionScript 3.0 :: Playing Sound In Bytearray To Kill Latency?

Oct 17, 2011

if i will load my mp3 to bytearray and then play the bytearray it will beat the latency we have in playing sounds normally?

View 1 Replies

Secure Publishing Of Live Streams?

May 3, 2010

I have installed Flash Media Server on our server.  When I load up the application home page, I see the demo video of a train.
 
Then I click on the "Interactive" tab on the right hand side.  I was SHOCKED to see that I can create a live stream from my local camera without any  credentials at all.  Anyone who visits this webpage can publish a live video stream on our Flash Media Server?

View 5 Replies

Save Live Streams In Fragments?

Aug 20, 2011

I'm planning to have a livestream running 24/7, and to be able to handle the high amounts of storage I need, I want to save the live stream in fragments (By size. For example: each fragment will be 1GB).

View 8 Replies

Media Server :: Connecting To Live Streams?

Apr 26, 2010

I've been using FMS for a few weeks, and feel relatively comfortable with it, but am currently having some trouble connecting to a live stream in a a video conferencing-type application. I suspect I'm leaving some small step out, but am having trouble seeing what that step is.
 
I have one client application open the video camera, connect to the FMS, and publish it's live camera stream to the server. Something like this:
 
Connect to the FMS

nc.connect("rtmp://<ip addr>9/chat_test/");

In my connection (success) handler:

cam = Camera.getCamera();
cam.addEventListener(StatusEvent.STATUS, statusHandler);
...

[code]...
 
However, I keep getting "NetStream.Play.StreamNotFound" errors. This seems relatively straightforward, but I'm clearly missing a small step somewhere.

View 1 Replies

Media Server :: Remove Lag From Live Streams?

Jun 4, 2010

I am publishing 2 live streams from a computer with 2 video capture cards in it and I get a lag every 30 seconds or so on the subscribers side. I have tried adjusting the camera quality and setMode properties but still the lag persists inside and outside the LAN, is there a way to create a buffer on the server or adjust the way the live stream is received on the subscribers side so there is no noticeable lag? I saw something about editing application.xml to adjust the queue and a suggested bitrate but not sure if this is applicable, here is the link:
 
[URL]
 
Here is my setup:

The publishing computer:

2 PCI-e x1 cards, one takes S-Video (480i) and the other DVI (720p)
Windows 7 64bit
Intel i7
6 GB RAM'
GB NIC and Switch
 
From the switch is one hop to a GB router and out to a 10 MB pipe which leads to our datacenter 30 miles away. The swf on this side just gets the 2 cameras, sets the quality to (0,80) and mode to (640,480,25,false) (I have played with these settings a little) and creates 2 lives streams on the FMS.
 
The FMS:I am running Flash Media Interactive Server 3.5 on my own server with two 3.6 Dual Core Xeon processors and 4 GB RAM. This server resides in a Datacenter and has a 100 MB burstable pipe. From the FMS administration console I am barely using 4MB total bandwidth, 1% CPU usage, 2% RAM.
 
The subscribing computer:I have used many different types of hardwired PC's within the same LAN and outside the LAN, results are the same.The swf on this side just creates 2 new video instances and attaches the 2 netstreams to them. They are placed side by side and the height and width of these videos are undefined.

View 1 Replies

Media Server :: 3.5 - Take Multiple Live Streams?

Jun 17, 2010

Can Flash Media Server 3.5 do the following?. Can it take multiple live streams?. Is it possible to control the ip streams - by using API's in to the Media Servers?.

View 4 Replies

Media Server :: How To Stop / Ban Live Streams

Jun 15, 2011

I own a site like ustream/justin where users can register and broadcast their channels using FMLE. Sometime I need to ban broadcasters after I receives any complaint against any channel. I do them on website, there is no issue in that. But how to do that on server side at FMIS. I need to do it bcause the stream users are already watching the channel page before it got banned, they still can watch it till they do the refresh. So I need something that can stop the Live Stream of that particular channel on FMS server too. How can I supply stream names to main.asc that should be banned or not to allow publishing without restarting server each time.

View 1 Replies

Media Server :: Listen To Multiple Live Streams At Once?

Sep 7, 2009

I am developing an application where I need musicians to play together and I want to have an audience listen to it. I have created my publisher clients and they can create the streams, but now I want to take those multiple streams and combine them so that you can hear the guitar, singer, etc. all together.

View 8 Replies

Media Server :: Limit On The Number Of Live Streams?

Jan 4, 2010

I wanted to know if there is any limit on the number of live streams that a client can connect to?For example, there are four live streams s1, s2, s3, s4 being published to FMS, can a flash client subscribe to all the four streams at the same time?If yes, what is the maximum number of streams that a client can subscribe to and what are the trade-offs?

View 3 Replies

Media Server :: Latencies / Delay In Live Streams

Mar 15, 2010

I'm doing some tests with FMS and live streaming, but I observe quite long delays. When the stream is first accessed, the latency is around 3-5 seconds, which is acceptable. But as we watch the stream for about 30 minutes or more, the latency grows to around 20 seconds, which is just too much. What settings should I look at to keep the latency / delay minimal?

View 3 Replies

Media Server :: Find Metrics For Live Streams?

Jun 2, 2010

We have installed FMS and have used it for a live streaming video event.The event lasted an hour and FMS worked great.How can I get statistics on that live stream? I'd like to know how many people saw the video, and how many people were watching at one time.

View 1 Replies

Media Server :: Limit On The Number Of Live Streams

Aug 12, 2011

I wanted to know if there is any limit on the number of live streams that a client can connect to? For example, there are four live streams s1, s2, s3, s4 being published to FMS, can a flash client subscribe to all the four streams at the same time? If yes, what is the maximum number of streams that a client can subscribe to and what are the trade-offs?

View 2 Replies

Media Server :: Recording Live Streams And Play Files Later

Apr 19, 2011

My Purpose is to record live streams on server side and play recorded files later. What I have done is -

1. Copied All files of applications/live in some safe location.
2. Copied all files from samples/applications/live to applications/live folder. (Deleted main.far from live folder)
3. Restricted SWF and HTML to mydomain in these files - allowedHTMLdomains.txt and allowedSWFdomains.txt
4. In main.asc I added these line in the end
var mystream;var intervalID;
[Code] .....
5. Then I restarted FMS and tried streaming using FLash Media Encoder. I was able to live stream and then i stopped it.
6. A FLV File was recorded in application/live folder with the stream name that i used in encoder.

I am able to view live video on my domain as well as some other domain, that means allowedHTMLdomains.txt and allowedSWFdomains.txt did not worked. Another issue is that I am not able to view recorded video after I stopped encoder but I was able see live video before stopping. I am using jwplayer to view the video and using flashvars streamer (rtmp://xx.xx.xx.xxx/live) and file(abc) to view the live and recorded video.

View 17 Replies

Media Server :: Serving Live Streams To IPad And Android Using FMS?

Jun 13, 2011

I need to serve live video streams to Flash players, Apple devices, and Android and Blackberry handhelds. Right now I'm using FMS (actually, the CDN I stream through is running FMS), and configuring Wowza Media Server to suck the Flash stream from FMS and reprocess it for Apple, Android, and Blackberry. It works well, but it's kind oif a PITA having to have a separate server just to handle mobile devices.
 
Is anyone aware of any plans to release a version of FMS that will stream directly to Apple and Android? I saw a video clip on Techtilt of an Adobe presentation at NAB where they were showing live streaming to iPad, but that clip didn't way anything about when we might actually see that version of FMS become available.

View 1 Replies

Media Server :: 3.5.0 Stops Streaming Live Pre-recorded Streams Unexpectedly

Mar 1, 2010

When broadcasting pre-recorded streams on a live applicationFMS always stops streaming at a certain time...
 
It can be after 10 seconds, it can be after 2 hours, or it can be after any other time, the frame just freezes on the client and the buffer drops to 0.

any attempt to diconnect / reconnect does not resume the streaming, althought the FMS console registers the connected client, no streaming is ensuing. One of the common events we get on the client in such instances when the streaming stops results in get "NetStream.Play.InsufficientBW".[code]...

View 4 Replies







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