[TIMOB-7390] iOS: AudioPlayer.bitRate returns very large number
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-06-07T22:59:06.000+0000 |
| Affected Version/s | Release 1.8.0.1 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Arthur Evans |
| Assignee | Ingo Muschenetz |
| Created | 2012-01-24T17:48:38.000+0000 |
| Updated | 2017-06-07T22:59:06.000+0000 |
Description
While streaming an MP3 from the internet, audioPlayer.bitRate returns 4292870144.
Yes, 4.29 billion bits per second. No wonder the network is slow. I think this is a bad cast.
In AudioStreamer, we have:
UInt32 bitRate; // Bits per second in the file
And in TiMediaAudioPlayerProxy.m, we have:
PLAYER_PROP_DOUBLE(bitRate,bitRate);
Closing ticket due to time passed.