I need to get the bit rate of a mp3 file which is being streamed as a netstream object in flash action scripting. I am using Flash Media Server 3.2.
I need the bitrate to calculate the duration of the mp3 file using the formula: Duration = file size in bytes / bitrate
The problem is solved, the problem was with the flash player, i was using version 9, with version 10 the NetStreamInfo class does provide the bitrate for the mp3 file which was not available in version 9. Thanks a lot for all the help guys!!