UNPKG

@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

19 lines (15 loc) 441 B
import { HMSPeer } from '../peer'; export interface HMSSessionStore { set(key: string, value: any): Promise<{ value: any; updatedAt?: Date }>; observe(key: string[]): Promise<void>; unobserve(key: string[]): Promise<void>; } export interface SessionStoreUpdate { value: any; key: string; updatedAt?: Date; updatedBy?: HMSPeer; } export * from './polls'; export * from './whiteboard'; export * from './interactivity-center';