@100mslive/hms-video-store
Version:
@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow
40 lines (39 loc) • 884 B
TypeScript
import { HMSPermissionType } from '../role';
export interface HMSWhiteboardCreateOptions {
id?: string;
title?: string;
reader?: string[];
writer?: string[];
admin?: string[];
presence?: boolean;
attributes?: Array<{
name: string;
value: unknown;
}>;
}
export interface HMSWhiteboard {
id: string;
open?: boolean;
title?: string;
owner?: string;
permissions?: Array<HMSPermissionType>;
presence?: boolean;
attributes?: Array<{
name: string;
value: unknown;
}>;
/**
* the URL that needs to be used as the iframe src
*/
url?: string;
/**
* address to be used to connect to whiteboard grpc communication service
* @internal
*/
addr?: string;
/**
* security token to be used for whiteboard API
* @internal
*/
token?: string;
}