?
Solved

Getting an average FPS on a netstream

Posted on 2008-06-24
4
Medium Priority
?
261 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Viewers will learn how to create a new project within Adobe Encore and the basic layout of the software.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

762 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