export default StreamingJanusPlugin; declare class StreamingJanusPlugin extends JanusPlugin { constructor(logger: any, filterDirectCandidates?: boolean); filterDirectCandidates: boolean; janusEchoBody: { audio: boolean; video: boolean; }; pluginName: string; sdpHelper: SdpHelper; /** * Type param can be: rtp, rtsp, live, ondemand * * Common parameters: * - id: positive integer, optional, random will be used if not present * - name: string - optional * - description: string - optional * - audio: boolean - optional, default false * - video: boolean - optional, default false * - is_private: boolean, optional, default: false * - pin * - secret * - permanent * * Plus parameters: * - rtp: * - data: boolean - optional, default false * - collision * - srtpsuite * - srtpcrypto * * - live: filename * - ondemand: filename * - rtsp: url, rtsp_user, rtsp_pwd, audiortpmap, audiofmtp, videortpmap, videofmtp, rtspiface * * @returns {Promise} */ create(parameters: any): Promise; destroy(id: any, permanent?: boolean): any; list(): any; watch(id: any): Promise; start(jsep: any): any; stop(): any; pause(): any; info(id: any): any; switch(id: any): any; candidate(candidate: any): any; } import JanusPlugin from '../JanusPlugin.js'; import SdpHelper from '../SdpHelper.js';