Hi,
Looks like i’am always programming against the limits of the corona, some examples:
1ste We needed an app with custom video player controls, not supported by corona, but YES there was a custom build with the native video and YES we did the app and published it at an exhibition.
Second: Now we need to develop an app witch can stream audio from the internet, stop it, resume it etc… like some radio apps in the appstore. Also it needs to resume playback while the user pushes the home button, as they will have play and pause in the startbat (double home tap). So i was looking around in the API, and have found out that we can’t use audio.loadStream() as it doesn’t support external streaming. Looking around in the forum, and we found video can do the job. As video does the Job, it uses the audio/video player of the SDK, so we can’t do anything like custom buttons etc, or not even lay over other content.
As i thought video will work, native video would work also. Whaaa, NO it doesn’t work, we get the simulator to CRASH when we use a URL for example like this one (http://stream01.platform02.true.nl:8000/qdance-hard)
I hope that somebody could give us a possible solution, roadmap time for playing streams from the internet or give us a Why, why not supported ?
By the way one solution i didn’t test, witch probably works, is using a native web window where w’ll show HTML and layout the APP within the HTML, Naahhhh, not so smooth solution.
So, in short we need:
- Playing streams from the internet like for example (http://stream01.platform02.true.nl:8000/qdance-hard)
- Use custom buttons like play, pause
- User can tap home buttons while musics play on
That’s why i meant limits, as for every project w’lll find limitations, probably we need to learn Objective-C Or C , i’ll hope not ?
PS. Or should we try reading and buffering the file ourself true the network api. Erhmm please not!
Thanks anyway for reading, hoping for a soon response.
Regards,
Jasper
[import]uid: 2734 topic_id: 28417 reply_id: 328417[/import]
, probably corona labs staff ? [import]uid: 2734 topic_id: 28417 reply_id: 114727[/import]