matrix-react-sdk
Version:
SDK for matrix.org using React
9 lines (8 loc) • 364 B
TypeScript
/**
* Returns the target chunk length for voice broadcasts:
* - If {@see Features.VoiceBroadcastForceSmallChunks} is enabled uses 15s chunk length
* - Otherwise to get the value from the voice_broadcast.chunk_length config
* - If that fails from DEFAULTS
* - If that fails fall back to 120 (two minutes)
*/
export declare const getChunkLength: () => number;