Files
scrypted/plugins/webrtc/src/session-control.ts
2022-03-27 22:54:47 -07:00

15 lines
311 B
TypeScript

import { RTCSessionControl } from "@scrypted/sdk";
export class ScryptedSessionControl implements RTCSessionControl {
constructor(public cleanup: () => Promise<void>) {
}
async getRefreshAt() {
}
async extendSession() {
}
async endSession() {
await this.cleanup();
}
}