@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
32 lines (31 loc) • 710 B
TypeScript
export interface HMSSessionFeedback {
question?: string;
rating: number;
min_rating?: number;
max_rating?: number;
reasons?: string[];
comment?: string;
}
export interface HMSSessionInfo {
peer: HMSSessionPeerInfo;
agent: string;
device_id: string;
cluster: HMSSessionCluster;
timestamp: number;
}
export interface HMSSessionPeerInfo {
peer_id: string;
role?: string;
joined_at?: number;
left_at?: number;
room_name?: string;
session_started_at?: number;
user_data?: string;
user_name?: string;
template_id?: string;
session_id?: string;
token?: string;
}
export interface HMSSessionCluster {
websocket_url: string;
}