feat: add configurable VDO.Ninja overview and floating window focus
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export type InstructorPlatform = {
|
||||
camera?: { url: string; password: string };
|
||||
id: string;
|
||||
masterPlatformId: string;
|
||||
name: string;
|
||||
@@ -190,6 +191,8 @@ export async function updateInstructorPlatform(
|
||||
algorithms: PlatformAlgorithms,
|
||||
controlDurationMinutes: number,
|
||||
controlWarningMinutes: number,
|
||||
cameraViewUrl: string,
|
||||
cameraPassword: string,
|
||||
): Promise<InstructorPlatformsResponse> {
|
||||
const response = await fetch(`${LMS_API_BASE_URL}/instructor/platforms/${platformId}`, {
|
||||
method: 'PUT',
|
||||
@@ -207,6 +210,8 @@ export async function updateInstructorPlatform(
|
||||
algorithms,
|
||||
controlDurationMinutes,
|
||||
controlWarningMinutes,
|
||||
cameraViewUrl,
|
||||
cameraPassword,
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user