@tessantech/rtc-light
Version:
Verry light package to simplify Webrtc and make a videoconference in a few lines of code.
15 lines (14 loc) • 433 B
TypeScript
import { RTCInformation } from ".";
export declare class IceCandidateManager {
private tricklePolicy;
private onInformation;
private iceCandidates;
constructor(peer: RTCPeerConnection, tricklePolicy: TricklePolicy, onInformation: (infos: RTCInformation) => any);
private addIceCandidate;
private flushIceCandidates;
}
export declare enum TricklePolicy {
NONE = 0,
ICE_COMPLETE = 1,
THROTTLE = 2
}