# How to properly retrieve maxBytesPerSecond over RTMP on live streaming?

**URL:** <https://community.wowza.com/t/how-to-properly-retrieve-maxbytespersecond-over-rtmp-on-live-streaming/47568>\
**Category:** Wowza Streaming Engine\
**Created:** [October 5, 2016, 6:55pm UTC](https://community.wowza.com/t/how-to-properly-retrieve-maxbytespersecond-over-rtmp-on-live-streaming/47568 "2016-10-05T18:55:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Octavian\_Stoica](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@Octavian\_Stoica](https://community.wowza.com/u/Octavian_Stoica)\
**Post date:** [October 5, 2016, 6:55pm UTC](https://community.wowza.com/t/how-to-properly-retrieve-maxbytespersecond-over-rtmp-on-live-streaming/47568/1 "2016-10-05T18:55:14Z")

</div>

Hi,

I implemented adaptive bitrate for a flash client which uses RTMP. I have issues retrieving properly maxBytesPerSecond from the netStreamInfo object and the algorithm doesn’t work as it should given the fact the bandwidth is not reliable.

The site that I work for is an open platform, so a lot of people are able to broadcast here. The maxBytesPerSecond works ok for publishers with high fps (over 20) and good bitrate but it’s becoming a mess when the fps drops below 15, the broadcaster has dropped frames and the bitrate is low. The subscribers remain on the low profiles because of the low maxBytesPerSecond.

I’ve read other older Wowza threads regarding this. I also looked over how JW player, Flow player do it, but they use the same property in order to check the bandwidth and that didn’t help. I also looked on the articles recommended by Wowza on how to implement this in Flash Client. I know that in FMS there are two properties, which help with obtaining the right maxBytesPerSecond:

Application/StreamManager/Live/Queue/MaxQueueDelay: The maximum time (in msec) that the live queue can delay transmiting messages

Application/StreamManager/Live/Queue/MaxQueueSize: The maximum size (in bytes) to which the live queue is allowed to grow before the messages it contains are transmitted

Unfortunately I didn’t find something similar in Wowza. Is there something that I am missing? How can I make this property to reflect the client bandwidth capacity?

Please help.

---

<div class="post-metadata">

**Author:** ![Jermaine\_Hemby](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jermaine\_Hemby](https://community.wowza.com/u/Jermaine_Hemby)\
**Post date:** [November 19, 2016, 9:04am UTC](https://community.wowza.com/t/how-to-properly-retrieve-maxbytespersecond-over-rtmp-on-live-streaming/47568/2 "2016-11-19T09:04:20Z")

</div>

Hello!

Thanks for contacting Wowza Forums!

Regarding the max bitrate property, what articles and forums did you review on the Wowza site?

Here is an article that may be of some help to you [HERE](https://www.wowza.com/docs/how-to-do-adaptive-bitrate-streaming#rtmp).

Regarding the FPS and having high vs. low, here is an article that can help [HERE](https://www.wowza.com/docs/how-to-set-up-low-latency-applications-in-wowza-streaming-engine-for-rtmp-streaming#smooth)

Regards,

Jermaine
