Hello,
how can I measure the bitrate of a stream I am watching?
Hello,
how can I measure the bitrate of a stream I am watching?
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
That NetStream.info object is the client-side option. You don’t need anything server-side for that. You might need Flash CS4. I am using Flash Builder with SDK 4. The SDK 3.2 doesn’t have NetStream.info
Richard
are there any client side solutions? Sometimes, I don’t have an access to the server but I want to measure the bitrate of the video I am watching