We have an app which we want to extend to support videos.
The Corona API has two video functions that we can use to either take a video or access videos: -
media.selectVideo
media.captureVideo
If I use either of these on IOS with say the following code: -
local testPlay = function(event) media.playVideo(event.url, media.RemoteSource ,true) end media.selectVideo ( {listener = testPlay} )
The resultant quality of the video is so bad it makes it unusable. I have tested this on an IPHONE X and an IPAD Pro.
I hoped it was a old API issue so just updated the MAC to the latest build and the quality is the same.
It looks like the API call media.selectVideo works fine, but when the user select the video it completes an aggressive compression which is far worse than the compression used for saying emailing a video.
This works find on Android BTW. This is just an IOS issue.