Does anyone now how I can play streaming video that's hosted on my own webserver?
According to these release notes, it should be possible using the media.playVideo function:
http://developer.anscamobile.com/forum/2010/02/21/corona-11-now-shipping
The following did not work for me:
-- begin example
local onComplete = function(event)
print( "video session ended" )
end
media.playVideo( "http://myserver/video/video.m4v", true, onComplete )
--end example
Myserver is a pc in my local network. The video play on my iphone when I enter the video URL via safari.
The corona app on my iPhone immediately crashes.
Any tips? Thanks!