TeaSpeak-Client/imports/shared-app/connection/rtc/SdpUtils.d.ts

20 lines
840 B
TypeScript
Raw Normal View History

2021-02-20 12:55:36 -05:00
export declare class SdpProcessor {
private static readonly kAudioCodecs;
private static readonly kVideoCodecs;
private rtpRemoteChannelMapping;
private rtpLocalChannelMapping;
constructor();
reset(): void;
getRemoteSsrcFromFromMediaId(mediaId: string): number | undefined;
getLocalSsrcFromFromMediaId(mediaId: string): number | undefined;
2021-05-01 17:38:36 -04:00
getLocalMediaIdFromSsrc(ssrc: number): string | undefined;
2021-02-20 12:55:36 -05:00
processIncomingSdp(sdpString: string, _mode: "offer" | "answer"): string;
processOutgoingSdp(sdpString: string, _mode: "offer" | "answer"): string;
private static generateRtpSSrcMapping;
private static patchLocalCodecs;
}
export declare namespace SdpCompressor {
function decompressSdp(sdp: string, mode: number): string;
function compressSdp(sdp: string, mode: number): string;
}