MCPcopy Create free account
hub / github.com/Roy3838/Observer / getPreferredCameraDevice

Method getPreferredCameraDevice

app/src/utils/streamManager.ts:285–287  ·  view source on GitHub ↗

Get the stored preferred camera device ID from localStorage

()

Source from the content-addressed store, hash-verified

283
284 /** Get the stored preferred camera device ID from localStorage */
285 public getPreferredCameraDevice(): string | null {
286 return localStorage.getItem('observer_preferred_camera_device');
287 }
288
289 /** Set the preferred camera device ID in localStorage */
290 public setPreferredCameraDevice(deviceId: string): void {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected