• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
    • Products

      • Wowza ClearCaster
      • Facebook Live appliance
      • Wowza Streaming Cloud
      • Cloud streaming services
      • Wowza Streaming Engine
      • Streaming server software
      • Wowza GoCoder & SDK
      • Mobile capture and encoding app
    • Capabilities

      • CDN
      • Ultra Low Latency
      • SRT
      • Player
      • WebRTC
      • Live Transcoding
      • See All Capabilities
  • DOCS & APIS

      Docs & APIs

      • Getting Started
      • User Guides
      • Technical Articles
      • Video Tutorials
      • API & SDK Docs
  • SOLUTIONS
    • Streaming Types

      • Live Video Streaming
      • Video on Demand
      • Audio-Only Streaming
      • IP Camera Streaming
      • VR and 360° Streaming
      • Chat
    • Industries

      • Broadcast & OTT
      • Education
      • Enterprise
      • Government
      • Live Events
      • Live Sports
      • Religious Organizations
    • Streaming Solutions

      • MediaDS—Integrated Streaming Device
      • Streaming Service Providers
      • Live Mobile Broadcasting
  • PRICING
    • Wowza ClearCaster

      • Facebook Live appliance
      • Starting at $2,995
      • Add to Cart
      • Request a Demo
    • Wowza Streaming Cloud

      • Cloud streaming services
      • Starter Plan: $49/month
      • Add to Cart
      • See All Plans
    • Wowza Streaming Engine

      • Streaming server software
      • Annual Plan: $65/month
      • Add to Cart
      • See All Plans
    • Wowza GoCoder SDK

      • SDK for mobile streaming
      • Talk to a Streaming Expert
      • Contact Us
      • Free Trial
  • RESOURCES

      Resources

      • Blog
      • Case Studies
      • Webinars
      • Videos
      • Podcasts
      • Test Players
      • Developer Tools
  • SUPPORT
    • Support

      • Forums
      • Software Updates
      • Open a Support Ticket
    • Plans & Services

      • Support Plans
      • Advisory Services
      • Live Event Support
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • General Forum /
avatar image
Question by Vivek Gupta · Apr 18, 2010 at 02:52 AM ·

Bandwidth/Buffering question

I am using Wowza to do live streaming of native RTP encoder streams. Users are using flash to playback the streams. I have couple of bandwidth/buffering related questions.

1. How do I detect when the user's bandwidth is not enough to sustain the stream at the given bitrate? I measure the bitrate at the start, but want to react to any congestion on the user side. Would "NetStream.Play.InsufficientBW" event be fired with Wowza? I could use the "NetStream.Buffer.Empty" event to adapt the stream, but that is already too late - as in the playback has already stopped. I am trying to be more proactive about reducing bitrate. Are there any events/methods other than these two?

2. Once I have adapted the stream, how can I detect if the network is not congested anymore? I would like to increase the bitrate if the network is again able to support the initial bitrate.

3. I have noticed that sometimes the flash player will stutter and video freeze, even when the flash player reports it has plenty of buffer (I am monitoring the bufferlen at the client). This usually happens when the flash player is not getting the full stream bitrate - presumably due to congestion. It almost seems like the player is stopping to rebuild the buffer back to the length specified by NetStream.bufferTime setting in response to a minor n/w glitch. This would defeat the purpose of having a bigger client buffer. Does this behaviour make sense? Or is something wrong with my configuration?

4. Lastly, I am looking into the possibility of implementing dual-threshold buffering as described at http://www.adobe.com/devnet/flashmediaserver/articles/fms_dual_buffering.html . Does this apply for live streams as well? It is clear how it will work for pre-recorded videoes, but will it work for live streams where the video data is being generated real time?
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Charlie Good · Apr 18, 2010 at 04:12 AM

It sounds like you need to setup multi-bitrate streaming. It is all covered in articles from Adobe. See the links at the bottom of this post:

http://www.wowza.com/forums/showthread.php?t=6469

The tricky part is to find an encoder that produces properly aligned streams. The only options I know that work at this point in time are: FMLE (read EULA), Digital Rapids, Haivision, Inlet. Many other encoders will not work because the key frames are not aligned.

Any interem solution using a non-aligned encoder is not really supported in Wowza.

Dual-threshold buffering will not work with a live stream. There is no source of video for the second buffer.

Charlie
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vivek Gupta · Apr 18, 2010 at 10:42 AM 0
Share
Charlie,

What about 1) & 2) ? Would "NetStream.Play.InsufficientBW" event be fired with Wowza? If not, what is the best way to determine the need to reduce the bitrate of the stream? And is it possible to detect that we can increase the bitrate, without having to do a full bw check again?

Vivek
avatar image

Answer by Richard Lanham · Apr 18, 2010 at 06:55 PM

1 and 2 are what is covered in the mult-bitrate sections of that post, and the Adobe article that it links to, as mentioned.

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vivek Gupta · Apr 18, 2010 at 11:44 AM 0
Share
Great. Thanks for the quick reply.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Push mp4 file 1 Answer

Using Amazon's S3 as a repository 3 Answers

RTSP restream dies after 2 hours 1 Answer

Call Wowza web service not success. 6 Answers

Wowza Dynamic Bitrate Streaming 3 Answers

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2018 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Users
  • Badges