Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7390] iOS: AudioPlayer.bitRate returns very large number

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T22:59:06.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterArthur Evans
AssigneeIngo Muschenetz
Created2012-01-24T17:48:38.000+0000
Updated2017-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);

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to time passed.

JSON Source