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

24 lines (23 loc) 798 B
import { TransportState } from '../transport/models/TransportState'; declare type ConnectionType = 'bluetooth' | 'cellular' | 'ethernet' | 'mixed' | 'none' | 'other' | 'unknown' | 'wifi' | 'wimax'; declare type EffectiveConnectionType = '2g' | '3g' | '4g' | 'slow-2g'; interface NetworkInformation { type: ConnectionType; effectiveType: EffectiveConnectionType; downlinkMax: number; downlink: number; rtt: number; } export interface AdditionalAnalyticsProperties { bitrate?: { publish?: number; subscribe?: number; }; network_info?: Partial<NetworkInformation>; document_hidden?: boolean; num_degraded_tracks?: number; max_sub_bitrate?: number; recent_pong_response_times: number[]; transport_state?: TransportState; } export {};