UNPKG

@techteamer/janus-api

Version:
31 lines (30 loc) 1.18 kB
export default VideoCallPlugin; declare class VideoCallPlugin extends JanusPlugin { constructor(display: any, logger: any, filterDirectCandidates?: boolean); display: any; pluginName: string; filterDirectCandidates: boolean; sdpHelper: SdpHelper; /** * registered user list */ onlineList(): any; register(): any; doCall(jsep: any, callId: any): any; doAnswer(jsep: any): any; /** * @see https://janus.conf.meetecho.com/docs/videocall.html * @param {Object} set * - "audio" : true|false, * - "video" : true|false, * - "bitrate" : <numeric bitrate value>, * - "record" : true|false, * - "filename" : <base path/filename to use for the recording>, * - "substream" : <substream to receive (0-2), in case simulcasting is enabled>, * - "temporal" : <temporal layers to receive (0-2), in case simulcasting is enabled>, * - "fallback" : <How much time (in us, default 250000) without receiving packets will make us drop to the substream below> */ configure(set: Object): any; } import JanusPlugin from '../JanusPlugin.js'; import SdpHelper from '../SdpHelper.js';