Solved

Getting an average FPS on a netstream

Posted on 2008-06-24
4
258 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Viewers will learn the basics of using Ableton Live's advanced sampler instrument, Sampler. Load new Sampler into an empty MIDI track: Select a sample and drop it into sample window in Sampler: Adjust pitch if necessary with Root Key setting: …
Viewers will learn how to use LFOs to modulate the sound of their Sampler instruments. Click the Modulation tab in Sampler: Choose one (or more) of the three available LFOs, and click the respective button to turn it on: Select a waveform, an LF…

738 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