fix(camera): use FPS range API alone in code6 probe
This commit is contained in:
@@ -37,8 +37,8 @@ android {
|
||||
applicationId 'com.gorios.lanvoice.cameraprobe'
|
||||
minSdk 26
|
||||
targetSdk 34
|
||||
versionCode 5
|
||||
versionName 'camera-probe-0.1.4'
|
||||
versionCode 6
|
||||
versionName 'camera-probe-0.1.5'
|
||||
ndk { abiFilters 'arm64-v8a' }
|
||||
}
|
||||
compileOptions { sourceCompatibility JavaVersion.VERSION_17; targetCompatibility JavaVersion.VERSION_17 }
|
||||
|
||||
@@ -93,7 +93,7 @@ class IsolatedCameraDiagnosticsActivity : ComponentActivity() {
|
||||
Column(Modifier.fillMaxSize().windowInsetsPadding(WindowInsets.safeDrawing)
|
||||
.verticalScroll(rememberScrollState()).padding(16.dp)) {
|
||||
Text("前置相机系统参数对照", style = MaterialTheme.typography.titleLarge)
|
||||
Text("按提供参数检查两项:1920×1080、NV21、固定30fps,先纯预览,再计帧回调。参数需设备支持且读回一致。每项采样5秒、关闭等2秒,相机可用最多等15秒;不保存画面、不收音。")
|
||||
Text("按提供参数检查两项:1920×1080、NV21、固定30fps,先纯预览,再计帧回调。只通过FPS区间API设置帧率,参数需设备支持且读回一致。每项采样5秒、关闭等2秒,相机可用最多等15秒;不保存画面、不收音。")
|
||||
AndroidView(factory = { context -> SurfaceView(context).apply {
|
||||
holder.addCallback(object : SurfaceHolder.Callback {
|
||||
override fun surfaceCreated(h: SurfaceHolder) { this@IsolatedCameraDiagnosticsActivity.holder = h }
|
||||
|
||||
Reference in New Issue
Block a user