Files
scrypted/plugins/webrtc/src/session-control.ts

17 lines
344 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();
}
async startSession() {
}
}