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

Function getVideoStreamCount

depot/console/src/lib/videoFrameStore.ts:236–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234
235/** Get the number of active video streams. */
236export function getVideoStreamCount(): number {
237 return videoStreams.size;
238}
239
240/** Map of camera ID to the actively-decoding HTMLVideoElement (owned by sidebar). */
241const videoElements = new Map<number, HTMLVideoElement>();

Callers 1

useRoverConnectionRtcFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected