miloproductionsinc/cordova-plugin-chromecast

App crash after initiating audio-casting on iOS: 'Invalid number value (infinite) in JSON write'

Closed this issue · 2 comments

This issue kind of duplicates jellyfin-archive#53, but I thought it better fits to your fork, since I've used your latest master. Also I've some additional information:

  • I've used the code of your example, but replaced the mp4-URL with an URL targeting a mp3-stream.
  • The cast app gets started, so the loadMedia-Call seems to work on the remote device, but the app crashes before any of the loadMedia-callbacks are called.

Fyi: I've found the root cause and submitted a PR (#12)

I have included your fix on my master, and submitted a PR to jellyfin!
Thanks again!