Video format for mobile

Monte Goulding monte at appisle.net
Mon Apr 13 18:38:07 EDT 2020



> On 13 Apr 2020, at 3:29 pm, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 4/12/20 4:16 PM, Monte Goulding via use-livecode wrote:
>>> On 13 Apr 2020, at 3:58 am, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> On 4/12/20 9:43 AM, Mark Waddingham via use-livecode wrote:
>>>> On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote:
>>>>> @Mark is there a bug number for this? I couldn't find anything.
>>>> Not specifically as yet I don't think - Monte noticed some issues late last week, and is the progress of fixing them. I've asked him to chime in when he's back to work :)
>>> 
>>> Thanks, that's good. I can give him a link to one of my videos that doesn't work on Android, just in case the cause is a bit different from what he's working on now. It's pretty much time-critical at my end.
>> Hi Jacque
>> I noticed some very similar behavior to what you are seeing but only when acceleratedRendering is on. I could hear audio but the video was just white. Turning off acceleratedRendering fixed the issue for me. I found a way to resolve the issue in the engine. If anyone is interested it has to do with how the main surface view and the video surface view are layered. The same issue appears to impact the camera control and likely (untested yet) impacts the barcode scanner widget. I’m not sure if what you are seeing is related if acceleratedRendering is not true.
>> First up this morning I’m creating a recipe stack for this and another issue I found with android player then crating bug reports. If you would like to create a recipe stack to demonstrate your issue that would be helpful too. Perhaps attach to your own bug report and then we can determine if it’s a duplicate of what I’m seeing or something else.
> 
> Done: <https://quality.livecode.com/show_bug.cgi?id=22674 <https://quality.livecode.com/show_bug.cgi?id=22674>>
> 
> Thanks Monte.


Hi Jacque

Good news! This is not a bug!

As of Android 9 clear text HTTP is disabled by default. This is much like the ATS restrictions on iOS. We probably need to add a way to configure this in the standalone builder for Android like we do for iOS even though it’s not advisable.

Changing your video url to https resoled the issue.

See https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted <https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted>

Cheers

Monte


More information about the use-livecode mailing list