MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / getSource

Method getSource

packages/core/src/runtime/clock.ts:142–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 }
141
142 getSource(): "monotonic" | "audio" {
143 if (this._audioSource && this._playStartMs !== null) {
144 if ("currentTimeSeconds" in this._audioSource) return "audio";
145 const { el } = this._audioSource;
146 if (!el.paused && Number.isFinite(el.currentTime)) return "audio";
147 }
148 return "monotonic";
149 }
150
151 snapshot(): TransportClockSnapshot {
152 return {

Callers 2

snapshotMethod · 0.95
clock.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected