You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to get the stream state to know exactly is the camera is streaming, is closed or whatever state could exists?
I see this kind of messages in the log,
[CameraStateMachine] New public camera state CameraState{type=CLOSING, error=null} from CLOSING and null
[CameraStateMachine] Publishing new public camera state CameraState{type=CLOSING, error=null}
[Camera2CameraImpl] {Camera@558aa2d[id=0]} Resetting Capture Session
[Camera2CameraImpl] {Camera@558aa2d[id=0]} Releasing session in state CLOSING
[StreamStateObserver] Update Preview stream state to IDLE
Camera2CameraImpl] {Camera@558aa2d[id=0]} Transitioning camera internal state: CLOSING --> INITIALIZED
[CameraStateRegistry] Recalculating open cameras:
[CameraStateRegistry] Camera State
[CameraStateRegistry] -------------------------------------------------------------------
[CameraStateRegistry] Camera@558aa2d[id=0] CLOSED
[CameraStateRegistry] Camera@8f4cbae[id=1] UNKNOWN
[CameraStateRegistry] -------------------------------------------------------------------
[CameraStateRegistry] Open count: 0 (Max allowed: 1)
[CameraStateMachine] New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
[CameraStateMachine] Publishing new public camera state CameraState{type=CLOSED, error=null}
Thanks in advance,
The text was updated successfully, but these errors were encountered:
As a possible new feature could be published with have some events or something. This will be in the direction to avoid initialization failures due to concurrency/synchronicity natural issues when we want to integrate this great library with our apps.
Hi!,
Is there a way to get the stream state to know exactly is the camera is streaming, is closed or whatever state could exists?
I see this kind of messages in the log,
[CameraStateMachine] New public camera state CameraState{type=CLOSING, error=null} from CLOSING and null
[CameraStateMachine] Publishing new public camera state CameraState{type=CLOSING, error=null}
[Camera2CameraImpl] {Camera@558aa2d[id=0]} Resetting Capture Session
[Camera2CameraImpl] {Camera@558aa2d[id=0]} Releasing session in state CLOSING
[StreamStateObserver] Update Preview stream state to IDLE
Camera2CameraImpl] {Camera@558aa2d[id=0]} Transitioning camera internal state: CLOSING --> INITIALIZED
[CameraStateRegistry] Recalculating open cameras:
[CameraStateRegistry] Camera State
[CameraStateRegistry] -------------------------------------------------------------------
[CameraStateRegistry] Camera@558aa2d[id=0] CLOSED
[CameraStateRegistry] Camera@8f4cbae[id=1] UNKNOWN
[CameraStateRegistry] -------------------------------------------------------------------
[CameraStateRegistry] Open count: 0 (Max allowed: 1)
[CameraStateMachine] New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
[CameraStateMachine] Publishing new public camera state CameraState{type=CLOSED, error=null}
Thanks in advance,
The text was updated successfully, but these errors were encountered: