Solved

Getting an average FPS on a netstream

Posted on 2008-06-24
4
253 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Viewers will get an overview of how to make and use Drum Racks in Ableton Live. Load new Drum Rack into empty MIDI track: Fill rack with audio samples: Re-arrange sample slots as necessary: Adjust parameters of each slot to tailor each sound a…

706 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

18 Experts available now in Live!

Get 1:1 Help Now