MCPcopy Create free account
hub / github.com/ecto/muni / removeVideoElement

Function removeVideoElement

depot/console/src/lib/videoFrameStore.ts:249–251  ·  view source on GitHub ↗
(cameraId: number)

Source from the content-addressed store, hash-verified

247
248/** Unregister a video element (called by CameraFeed on unmount). */
249export function removeVideoElement(cameraId: number): void {
250 videoElements.delete(cameraId);
251}
252
253/** Get the actively-decoding video element for a camera. */
254export function getVideoElement(cameraId: number): HTMLVideoElement | undefined {

Callers 1

CameraFeedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected