Built motion from commit 857c5af.|0.0.124
[motion.git] / server / config / ami / recording.js
1 var _0xb89c=["\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x51\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65\x54\x79\x70\x65","\x74\x79\x70\x65","\x75\x6E\x6B\x6E\x6F\x77\x6E","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x63\x72\x65\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var VoiceRecording=require(_0xb89c[1])[_0xb89c[0]];function Recording(){console[_0xb89c[3]](_0xb89c[2])}Recording[_0xb89c[5]][_0xb89c[4]]= function(_0x5bb5x3){create(_0x5bb5x3)};Recording[_0xb89c[5]][_0xb89c[6]]= function(_0x5bb5x3){updateQueue(_0x5bb5x3)};Recording[_0xb89c[5]][_0xb89c[7]]= function(_0x5bb5x3){updateType(_0x5bb5x3)};function create(_0x5bb5x3){_0x5bb5x3[_0xb89c[8]]= _0xb89c[9];return VoiceRecording[_0xb89c[4]](_0x5bb5x3)[_0xb89c[12]](function(_0x5bb5x5){console[_0xb89c[11]](_0xb89c[10],_0x5bb5x5)})}function updateQueue(_0x5bb5x3){return VoiceRecording[_0xb89c[17]]({queue:_0x5bb5x3[_0xb89c[14]],membername:_0x5bb5x3[_0xb89c[15]]},{where:{uniqueid:_0x5bb5x3[_0xb89c[16]]}})[_0xb89c[12]](function(_0x5bb5x5){console[_0xb89c[11]](_0xb89c[13],_0x5bb5x5)})}function updateType(_0x5bb5x3){return VoiceRecording[_0xb89c[17]]({type:_0x5bb5x3[_0xb89c[8]]},{where:{uniqueid:_0x5bb5x3[_0xb89c[16]]}})[_0xb89c[12]](function(_0x5bb5x5){console[_0xb89c[11]](_0xb89c[13],_0x5bb5x5)})}module[_0xb89c[18]]= Recording