Solved

Getting an average FPS on a netstream

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The advancements in today's technology are unparalleled. Much of the technology that we have could not have been imagined twenty years ago. One of the latest additions to the list of technological advances is virtual reality. Virtual reality has an …
Viewers will learn the basics of making and using Impulse Kits in Ableton Live. Load new Impulse into an empty MIDI track: Fill the 8 empty sample slots with drum samples: Adjust parameters to tailor each sound as desired: Proceed to create be…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

828 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