How to measure the bitrate

For static stream you can do this:

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:

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