I am able to query the bitrates of a dynamic stream usinfg the MediaPlayer API, however I can't seem to find an API to query the bitrate of a non-dynamic stream.
For example for dynamic I can do this:
if (mediaPlayer.isDynamicStream == true)
{
var msg:String = "Bitrates: ";
for (i = 0; i <= mediaPlayer.maxAllowedDynamicStreamIndex; i++) {
msg = msg + mediaPlayer.getBitrateForDynamicStreamIndex(i) + " kbps, ";
}
trace(msg);
}
However, this API doesn't work if isDYnamicStream is false.
Is there an equivalent way to get the bitrate?
Thanks,
Scott
North America
Europe, Middle East and Africa
Asia Pacific