UNPKG

mediasoup

Version:

Cutting Edge WebRTC Video Conferencing

24 lines 1.01 kB
import * as flatbuffers from 'flatbuffers'; import * as FbsSrtpParameters from './fbs/srtp-parameters'; /** * SRTP parameters. */ export type SrtpParameters = { /** * Encryption and authentication transforms to be used. */ cryptoSuite: SrtpCryptoSuite; /** * SRTP keying material (master key and salt) in Base64. */ keyBase64: string; }; /** * SRTP crypto suite. */ export type SrtpCryptoSuite = 'AEAD_AES_256_GCM' | 'AEAD_AES_128_GCM' | 'AES_CM_128_HMAC_SHA1_80' | 'AES_CM_128_HMAC_SHA1_32'; export declare function cryptoSuiteFromFbs(binary: FbsSrtpParameters.SrtpCryptoSuite): SrtpCryptoSuite; export declare function cryptoSuiteToFbs(cryptoSuite: SrtpCryptoSuite): FbsSrtpParameters.SrtpCryptoSuite; export declare function parseSrtpParameters(binary: FbsSrtpParameters.SrtpParameters): SrtpParameters; export declare function serializeSrtpParameters(builder: flatbuffers.Builder, srtpParameters: SrtpParameters): number; //# sourceMappingURL=SrtpParameters.d.ts.map