# How to measure the bitrate

**URL:** https://community.wowza.com/t/how-to-measure-the-bitrate/340
**Category:** Wowza Streaming Engine
**Created:** [February 6, 2010, 2:14pm UTC](https://community.wowza.com/t/how-to-measure-the-bitrate/340 "2010-02-06T14:14:24Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [February 6, 2010, 2:59pm UTC](https://community.wowza.com/t/how-to-measure-the-bitrate/340/2 "2010-02-06T14:59:02Z")

</div>

For static stream you can do this:

[http://community.wowza.com/t/-/80](http://community.wowza.com/t/-/80)

For live or static, the new Quality of Service metrics in NetStream can show what you are actually consuming client-side:

```auto
import flash.net.NetStreamInfo;
// do this on interval or timer:
var nsi:NetStreamInfo;
nsi = netstream.info;
trace(nsi.dataBytesPerSecond);

```

For live streams, server-side, you can use IPerformanceCounter. There is getMessagesInCountRate() and getMessagesOutCountRate() which should give a snapshot.

Richard

---

_[View the full topic](https://community.wowza.com/t/how-to-measure-the-bitrate/340)._
