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

61 lines (60 loc) 2.62 kB
export declare const RENEGOTIATION_CALLBACK_ID = "renegotiation-callback-id"; export declare const API_DATA_CHANNEL = "ion-sfu"; export declare const ANALYTICS_BUFFER_SIZE = 100; /** * Maximum time that transport-layer will try * before giving up on the connection and returning a failure * * Refer https://100ms.atlassian.net/browse/HMS-2369 */ export declare const MAX_TRANSPORT_RETRY_TIME = 60000; export declare const DEFAULT_SIGNAL_PING_TIMEOUT = 12000; export declare const DEFAULT_SIGNAL_PING_INTERVAL = 3000; export declare const PONG_RESPONSE_TIMES_SIZE = 5; export declare const SUBSCRIBE_ICE_CONNECTION_CALLBACK_ID = "SUBSCRIBE_ICE_CONNECTION_CALLBACK_ID"; export declare const SUBSCRIBE_TIMEOUT = 60000; export declare const ICE_DISCONNECTION_TIMEOUT = 5000; export declare const RTC_STATS_MONITOR_INTERVAL = 1000; export declare const MAINTAIN_TRACK_HISTORY = false; export declare const CLIENT_ANAYLTICS_PROD_ENDPOINT = "https://event.100ms.live/v2/client/report"; export declare const CLIENT_ANAYLTICS_QA_ENDPOINT = "https://event-nonprod.100ms.live/v2/client/report"; export declare const CLIENT_ANAYLTICS_STORAGE_LIMIT = 100; export declare const PUBLISH_STATS_SAMPLE_WINDOW = 30; export declare const PUBLISH_STATS_PUSH_INTERVAL = 300; export declare const SUBSCRIBE_STATS_SAMPLE_WINDOW = 10; export declare const SUBSCRIBE_STATS_PUSH_INTERVAL = 60; export declare const MAX_SAFE_INTEGER: number; export declare const HMSEvents: { DEVICE_CHANGE: string; LOCAL_AUDIO_ENABLED: string; LOCAL_VIDEO_ENABLED: string; LOCAL_VIDEO_UNMUTED_NATIVELY: string; LOCAL_AUDIO_UNMUTED_NATIVELY: string; STATS_UPDATE: string; RTC_STATS_UPDATE: string; TRACK_DEGRADED: string; TRACK_RESTORED: string; TRACK_AUDIO_LEVEL_UPDATE: string; LOCAL_AUDIO_SILENCE: string; ANALYTICS: string; AUDIO_PLUGIN_FAILED: string; POLICY_CHANGE: string; LOCAL_ROLE_UPDATE: string; AUDIO_TRACK_UPDATE: string; AUDIO_TRACK_ADDED: string; AUDIO_TRACK_REMOVED: string; AUTOPLAY_ERROR: string; LEAVE: string; ERROR: string; }; export declare const PROTOCOL_VERSION = "2.5"; export declare const PROTOCOL_SPEC = "20250115"; export declare const HAND_RAISE_GROUP_NAME = "_handraise"; export declare const DEFAULT_PLAYLIST_VIDEO_BITRATE = 1000; export declare const DEFAULT_PLAYLIST_AUDIO_BITRATE = 64; export declare const WHITEBOARD_ORIGIN = "https://whiteboard.100ms.live"; export declare const WHITEBOARD_QA_ORIGIN = "https://whiteboard-qa.100ms.live"; export declare enum LEAVE_REASON { USER_REQUEST = "user request", SDK_REQUEST = "sdk request" }