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

13 lines (12 loc) 747 B
import { TrackState } from '../notification-manager'; /** * @DISCUSS: Should we have a wrapper over RTCSessionDescriptionInit(SDP) and have these methods in it? */ export declare function fixMsid(desc: RTCSessionDescriptionInit, tracks?: Map<string, TrackState>): RTCSessionDescriptionInit; /** * Get the track ID from the SDP using the transceiver's mid from RTCTrackEvent * @TODO: This could take more processing time in a large room and when the SDP is big. * Consider using this for Firefox only? */ export declare function getSdpTrackIdForMid(desc?: RTCSessionDescriptionInit | null, mid?: RTCRtpTransceiver['mid']): string | undefined; export declare function enableOpusDtx(desc: RTCSessionDescriptionInit): RTCSessionDescriptionInit;