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

14 lines (10 loc) 445 B
import IConnectionObserver from '../IConnectionObserver'; export interface IPublishConnectionObserver extends IConnectionObserver { /** Triggered when renegotiation is necessary. * - A new local track/stream is added/removed * - A new data-channel is added/removed */ onRenegotiationNeeded(): Promise<void>; onDTLSTransportStateChange: (state?: RTCDtlsTransportState) => void; onDTLSTransportError: (error: Error) => void; }