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

Function hasWebScreenCapture

app/src/utils/platform.ts:96–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 * Check if web-based screen capture (getDisplayMedia) is available
95 */
96export const hasWebScreenCapture = (): boolean => {
97 return isDesktop() || isWeb();
98};
99
100/**
101 * Check if camera access is available

Callers 1

logPlatformInfoFunction · 0.85

Calls 2

isDesktopFunction · 0.85
isWebFunction · 0.85

Tested by

no test coverage detected