@microsoft/teams-js
Version:
Microsoft Client SDK for building app for Microsoft hosts
11 lines (10 loc) • 442 B
TypeScript
export declare class VideoFrameTick {
private static readonly setTimeoutCallbacks;
static setTimeout(callback: () => void, timeoutInMs: number): string;
static clearTimeout(id: string): void;
static setInterval(callback: () => void, intervalInMs: number): void;
/**
* Call this function whenever a frame comes in, it will check if any timeout is due and call the callback
*/
static tick(): void;
}