2022-11-24 11:37:08 +00:00
|
|
|
import { VideoConference } from '../../IVideoConference';
|
|
|
|
|
2022-03-05 02:29:12 +00:00
|
|
|
export type VideoConferenceEndpoints = {
|
|
|
|
'video-conference/jitsi.update-timeout': {
|
|
|
|
POST: (params: { roomId: string }) => void;
|
|
|
|
};
|
2022-06-27 18:04:20 +00:00
|
|
|
'video-conference.join': {
|
|
|
|
POST: (params: { callId: string; state: { cam: boolean } }) => { url: string; providerName: string };
|
|
|
|
};
|
|
|
|
'video-conference.start': {
|
|
|
|
POST: (params: { roomId: string }) => { url: string };
|
|
|
|
};
|
2022-11-24 11:37:08 +00:00
|
|
|
|
|
|
|
'video-conference.cancel': {
|
|
|
|
POST: (params: { callId: string }) => void;
|
|
|
|
};
|
|
|
|
|
|
|
|
'video-conference.info': {
|
|
|
|
GET: (params: { callId: string }) => VideoConference & {
|
|
|
|
capabilities: {
|
|
|
|
mic?: boolean;
|
|
|
|
cam?: boolean;
|
|
|
|
title?: boolean;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2022-03-05 02:29:12 +00:00
|
|
|
};
|