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) 564 B
import { IPublishConnectionObserver } from './IPublishConnectionObserver'; import JsonRpcSignal from '../../signal/jsonrpc'; import HMSConnection from '../HMSConnection'; export default class HMSPublishConnection extends HMSConnection { private readonly TAG; protected readonly observer: IPublishConnectionObserver; readonly nativeConnection: RTCPeerConnection; readonly channel: RTCDataChannel; constructor(signal: JsonRpcSignal, config: RTCConfiguration, observer: IPublishConnectionObserver); close(): void; initAfterJoin(): void; }