Need a MergAV for dummies guide

panagiotis merakos merakosp at gmail.com
Wed Sep 13 16:55:29 EDT 2017


Hi Greg,

Maybe try moving the following block from the "startRecordingVideo" handler
into the "openStack" handler:

mergAVCamCreate
mergAVCamSet "rect",the rect of grc "cam"
mergAVCamSet "visible","true"

Best,
Panos
--

On Wed, Sep 13, 2017 at 4:01 PM, pink via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I am trying to get MergAV to work in a mobile app, but so far I haven't had
> much luck...
>
> Here's some of what I've tried:
>
> on openStack
>           if the environment = "mobile" then mergAVRequestMediaAccess
> "video"
>           mergAVCamCreate
> end openStack
>
> command startRecordingVideo
>           set the currentlyRecording of this stack to true
>           mergAVCamCreate
>           mergAVCamSet "rect",the rect of grc "cam"
>           mergAVCamSet "visible","true"
>           put the seconds into tTitle
>           put "av" before tTitle
>           put ".mov" after tTitle
>           mergAVCamStartRecording (specialFolderPath("documents") &"/" &
> tTitle )
> end startRecordingVideo
>
> When I load it onto my iPhone I get:
> 634,0,0 control not created yet, 573,49,1 mergAVCamStartRecording
>
> Anyone know what I've done wrong?
>
>
>
> -----
> ---
> Greg (pink) Miller
> mad, pink and dangerous to code
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/
> Revolution-User-f278306.html
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list