2022-10-24 17:03:12 +02:00
|
|
|
import { LocalAudioTrack, LocalVideoTrack } from 'livekit-client';
|
|
|
|
|
|
|
|
export interface SessionProps {
|
|
|
|
roomName: string;
|
|
|
|
identity: string;
|
|
|
|
audioTrack?: LocalAudioTrack;
|
|
|
|
videoTrack?: LocalVideoTrack;
|
|
|
|
region?: string;
|
|
|
|
turnServer?: RTCIceServer;
|
|
|
|
forceRelay?: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface TokenResult {
|
2023-01-19 19:56:00 +01:00
|
|
|
identity: string;
|
|
|
|
accessToken: string;
|
2022-10-24 17:03:12 +02:00
|
|
|
}
|