(value: unknown)
| 537 | }; |
| 538 | |
| 539 | const normalizeRecordingMode = (value: unknown): RecordingMode => |
| 540 | value === "tab" || |
| 541 | value === "fullscreen" || |
| 542 | value === "window" || |
| 543 | value === "camera" |
| 544 | ? value |
| 545 | : defaultSettings.capture.recordingMode; |
| 546 | |
| 547 | const normalizeDevicePreference = (value: unknown): DevicePreference | null => { |
| 548 | if (!value || typeof value !== "object") return null; |
no outgoing calls
no test coverage detected