[ https://issues.apache.org/jira/browse/CB-10593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Kotikov closed CB-10593. --------------------------------- Resolution: Cannot Reproduce Ah, I see. Unfortunately I wasn't able to reproduce the problem on this configuration, so this might be a device-specific issue or some project misconfiguration. I'm going to close this as no repro. Please reopen if you run into this again. > captureVideo: Android 6.0.1 camera crashes if video exceeds duration > -------------------------------------------------------------------- > > Key: CB-10593 > URL: https://issues.apache.org/jira/browse/CB-10593 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media Capture > Environment: cordova-android@4.1.1 > Reporter: Geoffrey Bauduin > Assignee: Vladimir Kotikov > Labels: Android, android, wfc > > I use this plugin in order to capture a video that can last, at most, 10 > seconds. > {code:title=camera.ts|borderStyle=solid} > this.window["navigator"]["device"]["capture"].captureVideo((data:any) => { > if (data.length > 0) { > observer.next(data[0].fullPath); > } else { > observer.error("Cannot find recorded video"); > } > }, (error:string) => { > console.error("Cannot get video from camera:", error); > observer.error(error); > }, { > duration: 10, > limit: 1, > quality: 0 > }); > {code} > Everything is working as intended when I stop the video by myself before the > 10 seconds, but if my video exceeds 10 seconds, the camera application > crashes. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org