Skip to content

Commit

Permalink
bugfix. timing issue to capture with external camera [FoKE-Developers…
Browse files Browse the repository at this point in the history
…#116]

- external camera 서버 통신 및 캡쳐 타이밍 시간 보정
  • Loading branch information
DokySp committed Dec 15, 2024
1 parent 26e4382 commit 59d5f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fun CameraScreen(
// stream 한장 받을때마다 오는 콜백
//TODO: 화면 로딩(30프레임 이상) 후 재실행
frameCount++
if(frameCount > 30) {
if(frameCount > 10) {
frameCount = 0
viewModel.startCaptureTimer()
}
Expand Down
2 changes: 1 addition & 1 deletion util/src/main/java/com/foke/together/util/AppPolicy.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object AppPolicy {
const val EXTERNAL_CAMERA_WRITE_TIMEOUT = 10L

// capture settings
const val CAPTURE_INTERVAL = 10000L
const val CAPTURE_INTERVAL = 3000L
const val CAPTURE_COUNT = 4
const val COUNTDOWN_INTERVAL = 10L

Expand Down

0 comments on commit 59d5f94

Please sign in to comment.