Plugin should handle assign a 'reasonable' value to the playback position (and playback percentage) when a position of INFINITY is reported (observed before track starts playing).
Actual Behaviour
Terminates with uncaught exception when attempting to write the INFINITY value (assigned to playback percentage) to JSON:
Reproduce Scenario (including but not limited to)
iOS with Ionic, streaming tracks from SoundCloud using SoundCloud stream URLs
Steps to Reproduce
Attempt to stream https://api.soundcloud.com/tracks/274436003/stream?client_id=<SOUNDCLOUD_CLIENT_ID> (note: SoundCloud key required - if it's helpful, I will try to reproduce using a streaming track that is publicly accessible)
Expected Behaviour
Plugin should handle assign a 'reasonable' value to the playback position (and playback percentage) when a position of INFINITY is reported (observed before track starts playing).
Actual Behaviour
Terminates with uncaught exception when attempting to write the INFINITY value (assigned to playback percentage) to JSON:
Reproduce Scenario (including but not limited to)
iOS with Ionic, streaming tracks from SoundCloud using SoundCloud stream URLs
Steps to Reproduce
Attempt to stream
https://api.soundcloud.com/tracks/274436003/stream?client_id=<SOUNDCLOUD_CLIENT_ID>
(note: SoundCloud key required - if it's helpful, I will try to reproduce using a streaming track that is publicly accessible)Platform and Version
iOS 11.4
Cordova CLI version and cordova platform version
Cordova CLI version 7.1.0
Logs taken while reproducing problem