# Get bitrate of live stream

**URL:** <https://community.wowza.com/t/get-bitrate-of-live-stream/37765>\
**Category:** Wowza Streaming Engine\
**Created:** [December 26, 2011, 9:34pm UTC](https://community.wowza.com/t/get-bitrate-of-live-stream/37765 "2011-12-26T21:34:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dima\_Kirakosyan](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Dima\_Kirakosyan](https://community.wowza.com/u/Dima_Kirakosyan)\
**Post date:** [December 26, 2011, 9:34pm UTC](https://community.wowza.com/t/get-bitrate-of-live-stream/37765/1 "2011-12-26T21:34:06Z")

</div>

Hello.

Can i get bitrate of incoming live stream on WOWZA media server?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [December 29, 2011, 3:12pm UTC](https://community.wowza.com/t/get-bitrate-of-live-stream/37765/2 "2011-12-29T15:12:34Z")

</div>

Take a look at this example:

[https://www.wowza.com/docs/how-to-use-imediastreamactionnotify2-to-monitor-live-streams-modulestreamwatchdog](https://www.wowza.com/docs/how-to-use-imediastreamactionnotify2-to-monitor-live-streams-modulestreamwatchdog)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 11, 2012, 6:47pm UTC](https://community.wowza.com/t/get-bitrate-of-live-stream/37765/3 "2012-10-11T18:47:08Z")

</div>

Özgür,

The only way I can suggest is look at IOPerformanceCounter.getMessagesOutBytesRate for a few seconds. It’s a 5 second rolling average, so you need to wait a few seconds to look at it.

Richard

---

<div class="post-metadata">

**Author:** ![Ozgur\_Deniz\_Onur](https://avatars.discourse-cdn.com/v4/letter/o/6bbea6/32.png) [@Ozgur\_Deniz\_Onur](https://community.wowza.com/u/Ozgur_Deniz_Onur)\
**Post date:** [October 11, 2012, 9:30pm UTC](https://community.wowza.com/t/get-bitrate-of-live-stream/37765/4 "2012-10-11T21:30:26Z")

</div>

Hello,

I am using the onMetaData(IMediaStream stream, AMFPacket metaDataPacket) method of the IMediaStreamActionNotify2 to determine the bitrate of a live stream.

However the “videodatarate” attribute of the metaDataPacket is always 50000 regardless of the actual bitrate of the stream. Even when I try with a totally different stream the videodatarate is reported as 50000.

What I am doing wrong?

Regards,

Özgür
