You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/05/17 22:53:11 UTC

[GitHub] [cordova-plugin-media-capture] PhantomPainX commented on issue #182: I have set duration for video capture into code but still unable to see into OnePlus

PhantomPainX commented on issue #182:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/182#issuecomment-1129396621

   Having the same issue in my OnePlus 8T with Android 12. There is no error given too...
   
   
   I'm using the following code:
   ```
   import { MediaCapture, MediaFile, CaptureError, CaptureVideoOptions } from '@ionic-native/media-capture/ngx';
   
   openVideo() {
   
       var options: CaptureVideoOptions =  {
         limit: 5,
         duration: 15
       };
   
       this.mediaCapture.captureVideo(options).then((mediaFiles: MediaFile[]) => {
         console.log(mediaFiles);
       }
       ).catch((err: CaptureError) => console.error(err));
     }
   ```
   
   If anyone could help I would be very grateful :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org