Use key to correctly reload live view when camera changes directly (#20291)

This commit is contained in:
Nicolas Mowen 2025-09-30 14:51:47 -06:00 committed by GitHub
parent 923412ec1c
commit e8b2828ca0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,6 +142,7 @@ function Live() {
/> />
) : selectedCamera ? ( ) : selectedCamera ? (
<LiveCameraView <LiveCameraView
key={selectedCameraName}
config={config} config={config}
camera={selectedCamera} camera={selectedCamera}
supportsFullscreen={supportsFullScreen} supportsFullscreen={supportsFullScreen}