UNPKG

@100mslive/roomkit-react

Version:

![Banner](https://github.com/100mslive/web-sdks/blob/06c65259912db6ccd8617f2ecb6fef51429251ec/prebuilt-banner.png)

20 lines (19 loc) 856 B
import React from 'react'; import { HMSPeerID, HMSTrackID } from '@100mslive/react-sdk'; export interface VideoTileStatsProps { videoTrackID?: HMSTrackID; audioTrackID?: HMSTrackID; peerID?: HMSPeerID; isLocal: boolean; } /** * This component can be used to overlay webrtc stats over the Video Tile. For the local tracks it also includes * remote inbound stats as sent by the SFU in receiver report. */ export declare function VideoTileStats({ videoTrackID, audioTrackID, peerID, isLocal }: VideoTileStatsProps): React.JSX.Element | null; export declare function isNotNullishAndNot0(value: number | undefined | null): boolean; /** * Check only for presence(not truthy) of a value. * Use in places where 0, false need to be considered valid. */ export declare function isNotNullish(value: number | string | undefined | null): boolean;