mirror of
https://github.com/koush/scrypted.git
synced 2026-03-05 02:41:59 +00:00
17 lines
344 B
TypeScript
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() {
|
|
}
|
|
}
|