Get bitrate of live stream

Hello.

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

Take a look at this example:

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

Richard

Ö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

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