Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a

This commit is contained in:
OverSu 2026-11-28 12:20:19 +01:00
commit 3a1fba4efe

View file

@ -483,6 +483,8 @@
if (value.pictureSize) stream.setPictureSize(value.pictureSize);
if (value.mode && !['picture',...(videoMime ? ['video'] : [])].includes(value.mode))
throw new DOMException('Video unavailable', 'NotSupportedError');
// Gaia hides the viewfinder on reconfiguration and deduplicates preview states.
emit(stream, 'previewstatechange', { newState: 'stopped' });
if(value.mode)mode=value.mode;
queueMicrotask(() => emit(stream, 'previewstatechange', { newState: 'started' }));
return configuration();