Changes between Version 82 and Version 83 of Getting-Started/Android
- Timestamp:
- Feb 24, 2022 9:38:24 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/Android
v82 v83 120 120 {{{ 121 121 cp pjmedia/src/pjmedia-videodev/android/PjCamera*.java [your_app]/src/org/pjsip/ 122 }}} 123 124 Since 2.12, the capture device uses {{{Camera2}}} API (see also [https://github.com/pjsip/pjproject/pull/2797 #2797] for more info), application need to configure the {{{CameraManager}}} instance in {{{PjCameraInfo2}}} before using the camera, e.g: 125 {{{ 126 @Override protected void onCreate(Bundle savedInstanceState) 127 { 128 ... 129 CameraManager cm = (CameraManager)getSystemService(Context.CAMERA_SERVICE); 130 PjCameraInfo2.SetCameraManager(cm); 131 ... 132 } 122 133 }}} 123 134