Need a MergAV for dummies guide

pink nabble at mad.pink
Wed Sep 13 11:01:49 EDT 2017


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




More information about the use-livecode mailing list