Solved

Getting an average FPS on a netstream

Posted on 2008-06-24
4
254 Views
Last Modified: 2012-05-05
Situation: I have a video stream through a flash server that the sender can update the quality of the video.

Problem: The receiver of the video stream may be on a dial-up connection and thus gets a very low framerate. I have code to detect if the receiver is disconnected from the server, however I would like to have an event that can fire if the average framerate drops below a predefined number. I do not want to use an interval because the interval speed would need to be high thus causing browser crashing or the page functioning slowly.

Final: I would basically like an event that tells me that a frame has been received and thus I can provide messaging that tells the sender to lower the quality.
0
Comment
Question by:wfsdesign
  • 2
  • 2
4 Comments
 
LVL 22

Expert Comment

by:fredshovel
ID: 21859324
Resolution is much more a factor in quality than frame rate. Most professional companies put varying copies of the video for varying audience speeds.
0
 

Author Comment

by:wfsdesign
ID: 21859656
Thanks fredshovel, unfortunately the videos are not created by the company they are live stream broadcasts from individuals so we allow the individual to choose whether they want high resolution or high framerates, what I need is a way to inform if the settings are too high for the users connection.
0
 
LVL 22

Expert Comment

by:fredshovel
ID: 21860243
The best site I've ever seen for delivering great videos -- even at dial-up speed is this Australian site. I would take a very close look at what they are doing. You can download their videos if you want to analyse them. http://www.abc.net.au/tv/newinventors/inventions/
0
 

Accepted Solution

by:
wfsdesign earned 0 total points
ID: 21909447
The only solution I was able to use was using the setInterval method to check the FPS and bufferLength to display messaging to the user. Unfortunately this will hender users with slower machines but I did not find any events that would help this situation.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Read about why website design really matters in today's demanding market.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now