Thank you for the plugin.
When I start a stream it plays fine. But if I stop it and start a new one my app crashes. This happens both on the simulator and on iOS devices.
Here is the code to reproduce the behavior.
local ms = require "plugin.musicStreaming" ms.init() local url = "http://a32.phobos.apple.com/us/r2000/008/Music1/v4/38/ba/dc/38badc42-3094-880e-a2a6-6f8f87659c41/mzaf\_808005972140680394.plus.aac.p.m4a" ms.play(url, function() timer.performWithDelay( 3000, function() ms.stop() timer.performWithDelay( 3000, function() ms.play(url, function() -- Crashes here!! timer.performWithDelay( 3000, function() ms.stop() end ) end ) end ) end ) end )