mirror of
https://github.com/koush/scrypted.git
synced 2026-03-02 01:02:57 +00:00
15 lines
311 B
TypeScript
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();
|
|
}
|
|
}
|