Giter VIP home page Giter VIP logo

Comments (3)

bradmartin avatar bradmartin commented on August 20, 2024 1

If I get some free time I plan to implement a lot of the android side in a native library which will help with performance, right now everything is on the JS thread so that's likely why it's a bit slow on start up. Moving things off the JS thread should provide a nicer experience all around.

from nativescript-camera-plus.

tempura-shrimp avatar tempura-shrimp commented on August 20, 2024

Logs:

JS: NativeScript-CameraPlus --- [video enabled:, false]
JS: NativeScript-CameraPlus --- [default camera:, rear]
JS: NativeScript-CameraPlus --- [*** onSurfaceTextureAvailable ***
JS: this.cameraId = 0]
JS: NativeScript-CameraPlus --- [*** _initCamera ***
JS: this.cameraId = 0 --- device: Letv x600 on SDK: 23]
JS: NativeScript-CameraPlus --- [opening camera with id = 0]
JS: NativeScript-CameraPlus --- [supported focus modes = [auto, macro, infinity, continuous-picture, continuous-video, manual, fullscan] --- device: Letv x600 on SDK: 23]
JS: NativeScript-CameraPlus --- [setting focus mode to FOCUS_MODE_CONTINUOUS_PICTURE]
JS: NativeScript-CameraPlus --- [*** _setCameraDisplayOrientation ***]
JS: NativeScript-CameraPlus --- [DISPLAY ROTATION = 0]
JS: NativeScript-CameraPlus --- [--- setting rotation for back facing camera ---
JS:  --- info.orientation = 90]
JS: NativeScript-CameraPlus --- [result = 90]
JS: NativeScript-CameraPlus --- [targetRatio = 1.7777777777777777]
JS: NativeScript-CameraPlus --- [targetHeight = 1920]
JS: NativeScript-CameraPlus --- [size.width = 176, size.height = 144]
JS: NativeScript-CameraPlus --- [ratio = 1.2222222222222223]
JS: NativeScript-CameraPlus --- [size.width = 320, size.height = 240]
JS: NativeScript-CameraPlus --- [ratio = 1.3333333333333333]
JS: NativeScript-CameraPlus --- [size.width = 352, size.height = 288]
JS: NativeScript-CameraPlus --- [ratio = 1.2222222222222223]
JS: NativeScript-CameraPlus --- [size.width = 480, size.height = 320]
JS: NativeScript-CameraPlus --- [ratio = 1.5]
JS: NativeScript-CameraPlus --- [size.width = 480, size.height = 368]
JS: NativeScript-CameraPlus --- [ratio = 1.3043478260869565]
JS: NativeScript-CameraPlus --- [size.width = 640, size.height = 480]
JS: NativeScript-CameraPlus --- [ratio = 1.3333333333333333]
JS: NativeScript-CameraPlus --- [size.width = 720, size.height = 480]
JS: NativeScript-CameraPlus --- [ratio = 1.5]
JS: NativeScript-CameraPlus --- [size.width = 800, size.height = 480]
JS: NativeScript-CameraPlus --- [ratio = 1.6666666666666667]
JS: NativeScript-CameraPlus --- [size.width = 800, size.height = 600]
JS: NativeScript-CameraPlus --- [ratio = 1.3333333333333333]
JS: NativeScript-CameraPlus --- [size.width = 864, size.height = 480]
JS: NativeScript-CameraPlus --- [ratio = 1.8]
JS: NativeScript-CameraPlus --- [size.width = 960, size.height = 540]
JS: NativeScript-CameraPlus --- [ratio = 1.7777777777777777]
JS: NativeScript-CameraPlus --- [size.width = 1280, size.height = 720]
JS: NativeScript-CameraPlus --- [ratio = 1.7777777777777777]
JS: NativeScript-CameraPlus --- [size.width = 1088, size.height = 1088]
JS: NativeScript-CameraPlus --- [ratio = 1]
JS: NativeScript-CameraPlus --- [size.width = 1440, size.height = 1080]
JS: NativeScript-CameraPlus --- [ratio = 1.3333333333333333]
JS: NativeScript-CameraPlus --- [size.width = 1920, size.height = 1080]
JS: NativeScript-CameraPlus --- [ratio = 1.7777777777777777]
JS: NativeScript-CameraPlus --- [size.width = 1920, size.height = 1088]
JS: NativeScript-CameraPlus --- [ratio = 1.7647058823529411]
JS: NativeScript-CameraPlus --- [size.width = 1680, size.height = 1248]
JS: NativeScript-CameraPlus --- [ratio = 1.3461538461538463]
JS: NativeScript-CameraPlus --- [optimalSize = android.hardware.Camera$Size@3be67c0, optimalSize.width = 1920, optimalSize.height = 1088]
JS: NativeScript-CameraPlus --- [mPreviewSize = android.hardware.Camera$Size@3be67c0]
ActivityManager: Broadcast: Intent { act=DEBUG_SKIP_FRAME_REPORT flg=0x15b FromType=0xffffffff mCallingUid=10180 } ordered=false userid=0 callerApp=ProcessRecord{b4f089e 28930:com.island68.MapleAndroid/u0a180, isShadow:false}

from nativescript-camera-plus.

rg777 avatar rg777 commented on August 20, 2024

Facing same issue of very slow boot up time in Modal Page. Any suggestions?

from nativescript-camera-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.