mediasoup-client
Version:
mediasoup client side TypeScript library
24 lines • 859 B
TypeScript
import type { DtlsParameters } from '../../Transport';
import type { RtpCapabilities, RtpParameters } from '../../RtpParameters';
/**
* This function must be called with an SDP with 1 m=audio and 1 m=video
* sections.
*/
export declare function extractRtpCapabilities({ sdpObject, }: {
sdpObject: any;
}): RtpCapabilities;
export declare function extractDtlsParameters({ sdpObject, }: {
sdpObject: any;
}): DtlsParameters;
export declare function getCname({ offerMediaObject, }: {
offerMediaObject: any;
}): string;
/**
* Apply codec parameters in the given SDP m= section answer based on the
* given RTP parameters of an offer.
*/
export declare function applyCodecParameters({ offerRtpParameters, answerMediaObject, }: {
offerRtpParameters: RtpParameters;
answerMediaObject: any;
}): void;
//# sourceMappingURL=commonUtils.d.ts.map