cordova - Intel xdk, record a video from the camera in background -


i made search around couldn't find answer that. capture video using intel xdk don't want launch video recording app on foreground, want to:

  • run in background
  • start recording immediately
  • stop recording after given amount of time or function call

i tried use https://github.com/apache/cordova-plugin-media-capture navigator.device.capture.capturevideo(capturesuccess, captureerror, {limit:1, duration:10}); opens camera app , user start recording (tried moto g)

any suggestion/code sample welcome :)


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -