Changeset 5004 for pjproject/trunk


Ignore:
Timestamp:
Mar 20, 2015 10:15:38 AM (10 years ago)
Author:
nanang
Message:

Re #1822: Skipped FPS setting on staring Android video capturer, unsupported/non-exact range value may be rejected by some devices such as Nexus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/android/src/org/pjsip/PjCamera.java

    r4994 r5004  
    116116        cp.setPreviewSize(param.width, param.height); 
    117117        cp.setPreviewFormat(param.format); 
    118         cp.setPreviewFpsRange(param.fps1000, param.fps1000); 
     118        // Some devices such as Nexus require an exact FPS range from the 
     119        // supported FPS ranges, specifying a subset range will raise 
     120        // exception. 
     121        //cp.setPreviewFpsRange(param.fps1000, param.fps1000); 
    119122        try { 
    120123            camera.setParameters(cp); 
Note: See TracChangeset for help on using the changeset viewer.