'use strict';

// voice message record
var VOICE_RECORDER_CLICK_BUFFER_TIME = 250;
var VOICE_RECORDER_DEFAULT_MIN = 1000;
var VOICE_RECORDER_DEFAULT_MAX = 60000;
var VOICE_RECORDER_MIME_TYPE = 'audio/webm';
var VOICE_RECORDER_AUDIO_BITS = 128000; // voice message play
/**
 * Append Audio element to the root
 * because I can't get the Audio element in the useEffect unmount scope
 */

var VOICE_PLAYER_ROOT_ID = 'sendbird-voice-player-provider-root';
var VOICE_PLAYER_AUDIO_ID = 'sendbird-global-audio-player-id'; // voice message file

var VOICE_MESSAGE_FILE_NAME = 'Voice_message.mp3';
var VOICE_MESSAGE_MIME_TYPE = 'audio/mp3;sbu_type=voice'; // meta array

var META_ARRAY_VOICE_DURATION_KEY = 'KEY_VOICE_MESSAGE_DURATION';
var META_ARRAY_MESSAGE_TYPE_KEY = 'KEY_INTERNAL_MESSAGE_TYPE';
var META_ARRAY_MESSAGE_TYPE_VALUE__VOICE = 'voice/mp3';

exports.META_ARRAY_MESSAGE_TYPE_KEY = META_ARRAY_MESSAGE_TYPE_KEY;
exports.META_ARRAY_MESSAGE_TYPE_VALUE__VOICE = META_ARRAY_MESSAGE_TYPE_VALUE__VOICE;
exports.META_ARRAY_VOICE_DURATION_KEY = META_ARRAY_VOICE_DURATION_KEY;
exports.VOICE_MESSAGE_FILE_NAME = VOICE_MESSAGE_FILE_NAME;
exports.VOICE_MESSAGE_MIME_TYPE = VOICE_MESSAGE_MIME_TYPE;
exports.VOICE_PLAYER_AUDIO_ID = VOICE_PLAYER_AUDIO_ID;
exports.VOICE_PLAYER_ROOT_ID = VOICE_PLAYER_ROOT_ID;
exports.VOICE_RECORDER_AUDIO_BITS = VOICE_RECORDER_AUDIO_BITS;
exports.VOICE_RECORDER_CLICK_BUFFER_TIME = VOICE_RECORDER_CLICK_BUFFER_TIME;
exports.VOICE_RECORDER_DEFAULT_MAX = VOICE_RECORDER_DEFAULT_MAX;
exports.VOICE_RECORDER_DEFAULT_MIN = VOICE_RECORDER_DEFAULT_MIN;
exports.VOICE_RECORDER_MIME_TYPE = VOICE_RECORDER_MIME_TYPE;
//# sourceMappingURL=consts-b08b4ca6.js.map
