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 < [email protected]> 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 > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
