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

Reply via email to