/******************************************************************************* * @copyright Copyright (c) 2018 Hanwha Techwin Co., Ltd. * @license Licensed to the Hanwha Techwin Software Foundation under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Total Plugin-Free Web Browser Viewer Framework * http://www.hanwhatechwin.com * * Security Solution Development Division / Web Software Development Team * * @summary Summary: ump-player * @description Description: UMP Framework 3.2.0 * @file ump-player_20-04-2022 22.38.38.js * @version 3.2.0 * @since 20-04-2022 * @author by Youngho Kim (young.ho.kim@hanwha.com), * by Yongsoo Ko (yongsoo.ko@hanwha.com), * by Miju Park (miju462.park@hanwha.com), * by Sweungwon Cheung (sw.cheung@hanwha.com), * by Jongchan Park (jden.park@hanwha.com), * by Changehee Song (changh.song@hanwha.com), */ /******************************************************************************* * @copyright Copyright (c) 2018 Hanwha Techwin Co., Ltd. * @license Licensed to the Hanwha Techwin Software Foundation under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Total Plugin-Free Web Browser Viewer Framework * http://www.hanwhatechwin.com * * Security Solution Development Division / Web Software Development Team * * @summary Summary: ump-player * @description Description: UMP Framework 3.2.0 * @file ump-player_20-04-2022.js * @version 3.2.0 * @since 20-04-2022 * @author by Youngho Kim (young.ho.kim@hanwha.com), * by Yongsoo Ko (yongsoo.ko@hanwha.com), * by Miju Park (miju462.park@hanwha.com), * by Sweungwon Cheung (sw.cheung@hanwha.com), * by Jongchan Park (jden.park@hanwha.com), * by Changehee Song (changh.song@hanwha.com), */ (function(_0x24d6c1,_0x53ae7e){var _0x4a4a12=_0x15a1,_0x6765b0=_0x24d6c1();while(!![]){try{var _0x3ae004=parseInt(_0x4a4a12(0x185))/0x1*(parseInt(_0x4a4a12(0x1a1))/0x2)+parseInt(_0x4a4a12(0x174))/0x3+-parseInt(_0x4a4a12(0x16b))/0x4+parseInt(_0x4a4a12(0x18f))/0x5*(parseInt(_0x4a4a12(0x196))/0x6)+parseInt(_0x4a4a12(0x187))/0x7*(parseInt(_0x4a4a12(0x182))/0x8)+-parseInt(_0x4a4a12(0x183))/0x9+parseInt(_0x4a4a12(0x175))/0xa;if(_0x3ae004===_0x53ae7e)break;else _0x6765b0['push'](_0x6765b0['shift']());}catch(_0x45f03c){_0x6765b0['push'](_0x6765b0['shift']());}}}(_0x428d,0xd5077));function _0x428d(){var _0x4d9c1c=['BytesCount','size','setStreamFormat','width','dummycount','6615708CTbeOy','floor','codectype','aviBytesCount','compressor','aviFlags','strh','writeChunkHeader','aviHandler','4716438dmXatY','56240IGijdt','SizeImage','aviSampleSize','setIndexEntry','chid','sourceInputMs','BitCount','round','setStreamHeader','aviType','offset','setErrorCode','flag','5848264CsyXDY','7139349BNlHRd','frameType','1004143nyykvD','!!!!Backup\x20Codec\x20CHanged,\x20backup\x20must\x20be\x20stop.....!','7fHEqGN','framerate','Planes','log','frameCount','last_ms','getIndexEntry','Height','5LQdxIg','aviQuality','Width','video_init','aviSuggestedBufferSize','pos','aviLength','40854HODlIj','Size','height','FourCC','chunkHeader','aviScale','Backup\x20long\x20distance...\x20dummy\x20count:%d,\x20need\x20to\x20reset!','payloadsize','00dc','fourcc','PESsize','2PYBGOU','initHeader'];_0x428d=function(){return _0x4d9c1c;};return _0x428d();}function _0x15a1(_0x5be80f,_0x47c59d){var _0x428dc0=_0x428d();return _0x15a1=function(_0x15a1eb,_0x3b0d3d){_0x15a1eb=_0x15a1eb-0x165;var _0x1e187d=_0x428dc0[_0x15a1eb];return _0x1e187d;},_0x15a1(_0x5be80f,_0x47c59d);}var VideoHeader=function(){'use strict';var _0x49117d=0x0;function _0x8f7a1d(){}return _0x8f7a1d['prototype']=inheritObject(new AviFormatWriter(),{'initHeader':function(_0x32f6e4){var _0x3de23b=_0x15a1,_0x3c02cc={},_0x51338a={};_0x3c02cc['aviFourCC']=_0x3de23b(0x171),_0x3c02cc[_0x3de23b(0x16e)]=0x38,_0x3c02cc[_0x3de23b(0x17e)]='vids',_0x3c02cc[_0x3de23b(0x173)]=_0x32f6e4[_0x3de23b(0x16d)],_0x3c02cc[_0x3de23b(0x170)]=0x0,_0x3c02cc[_0x3de23b(0x193)]=Math[_0x3de23b(0x16c)](_0x32f6e4[_0x3de23b(0x169)]*_0x32f6e4[_0x3de23b(0x198)]/0x2),_0x3c02cc['aviRight']=_0x32f6e4[_0x3de23b(0x169)],_0x3c02cc['aviBottom']=_0x32f6e4[_0x3de23b(0x198)],_0x3c02cc[_0x3de23b(0x19b)]=0x3e8,_0x3c02cc['aviRate']=0x3e8*_0x32f6e4[_0x3de23b(0x188)],_0x3c02cc[_0x3de23b(0x190)]=-0x1,_0x3c02cc[_0x3de23b(0x177)]=0x0,this[_0x3de23b(0x17d)](_0x3c02cc),_0x51338a[_0x3de23b(0x199)]='strf',_0x51338a[_0x3de23b(0x166)]=0x28,_0x51338a[_0x3de23b(0x197)]=0x28,_0x51338a[_0x3de23b(0x191)]=_0x32f6e4[_0x3de23b(0x169)],_0x51338a[_0x3de23b(0x18e)]=_0x32f6e4[_0x3de23b(0x198)],_0x51338a[_0x3de23b(0x189)]=0x1,_0x51338a[_0x3de23b(0x17b)]=0x18,_0x51338a[_0x3de23b(0x176)]=_0x32f6e4[_0x3de23b(0x169)]*_0x32f6e4['height']*_0x32f6e4['framerate'],_0x51338a['Compression']=_0x3c02cc[_0x3de23b(0x173)],this[_0x3de23b(0x168)](_0x51338a);},'updateInfo':function(_0x44b109,_0x3dc462){var _0x238231=_0x15a1,_0x2a98ce=this['getStreamHeader'](),_0x58efad=(void 0x0===_0x2a98ce['last_ms']&&(_0x2a98ce['last_ms']=0x0),this[_0x238231(0x18d)]()),_0x5dd07a=_0x44b109[_0x238231(0x1a0)],_0x6a09c6=(_0x5dd07a%0x2!=0x0&&(_0x5dd07a+=0x1),'I'===_0x44b109[_0x238231(0x184)]?_0x58efad['flag']=0x10:_0x58efad[_0x238231(0x181)]=0x0,_0x58efad[_0x238231(0x179)]=_0x238231(0x19e),(0x3e8/_0x44b109[_0x238231(0x188)])['toFixed'](0x1));if('string'==typeof _0x6a09c6&&(_0x6a09c6*=0x1),void 0x0===_0x3dc462[_0x238231(0x192)]||!0x1===_0x3dc462['video_init'])this[_0x238231(0x165)](_0x44b109),_0x2a98ce[_0x238231(0x169)]=_0x44b109[_0x238231(0x169)],_0x2a98ce['height']=_0x44b109[_0x238231(0x198)],_0x2a98ce[_0x238231(0x16f)]=_0x44b109[_0x238231(0x16d)],_0x3dc462['last_ms']=_0x44b109[_0x238231(0x17a)],_0x3dc462[_0x238231(0x192)]=!0x0,_0x3dc462[_0x238231(0x18b)]=0x0;else{if(_0x2a98ce[_0x238231(0x16f)]!==_0x44b109['codectype'])return this[_0x238231(0x180)](-0x1),console['error'](_0x238231(0x186)),null;if(_0x2a98ce[_0x238231(0x169)]!==_0x44b109[_0x238231(0x169)]||_0x2a98ce[_0x238231(0x198)]!==_0x44b109[_0x238231(0x198)])return this[_0x238231(0x180)](-0x2),console['error']('[Video\x20Profile]\x20change\x20stop!!!'),null;}var _0x293d07=0x0;0x0===_0x44b109[_0x238231(0x17a)]||0x0===_0x3dc462[_0x238231(0x18c)]||_0x44b109[_0x238231(0x17a)]<=_0x3dc462['last_ms']+_0x6a09c6?_0x49117d=0x0:(_0x293d07=(_0x44b109[_0x238231(0x17a)]-_0x3dc462[_0x238231(0x18c)]-_0x6a09c6)/_0x6a09c6,0x0===(_0x49117d=Math[_0x238231(0x16c)](_0x293d07))&&Math[_0x238231(0x16c)]((_0x44b109[_0x238231(0x17a)]-_0x3dc462['last_ms']-_0x6a09c6)/(_0x6a09c6/0x2))&&(_0x49117d=0x1),_0x293d07<0x0&&(_0x49117d=0x0)),0xd2<_0x49117d&&(console[_0x238231(0x18a)](_0x238231(0x19c),_0x49117d),_0x49117d=0x0,_0x3dc462[_0x238231(0x18c)]=0x0),0x0===_0x3dc462[_0x238231(0x18c)]||Math[_0x238231(0x17c)](_0x293d07)<_0x49117d||_0x293d07<0x0?(_0x2a98ce[_0x238231(0x18c)]=_0x44b109['sourceInputMs'],_0x3dc462['last_ms']=_0x44b109[_0x238231(0x17a)]):(_0x2a98ce['last_ms']+=+(_0x6a09c6*(_0x49117d+0x1))['toFixed'](0x1),_0x3dc462['last_ms']+=+(_0x6a09c6*(_0x49117d+0x1))['toFixed'](0x1)),_0x58efad[_0x238231(0x17f)]=_0x3dc462['pos'],void(_0x58efad[_0x238231(0x167)]=0x0)===_0x2a98ce[_0x238231(0x195)]&&(_0x2a98ce[_0x238231(0x195)]=0x0),_0x58efad[_0x238231(0x16a)]=_0x49117d;for(var _0x4264a5=0x0;_0x4264a5<_0x49117d;_0x4264a5++)_0x2a98ce[_0x238231(0x195)]++,_0x58efad[_0x238231(0x17f)]+=0x8;return _0x2a98ce[_0x238231(0x195)]++,_0x58efad[_0x238231(0x167)]=_0x5dd07a,_0x3dc462[_0x238231(0x194)]=_0x58efad[_0x238231(0x17f)]+0x8+_0x5dd07a,this['chunkHeader'][_0x238231(0x19f)]='00dc',this[_0x238231(0x19a)][_0x238231(0x19d)]=_0x5dd07a,this[_0x238231(0x172)](_0x49117d),this[_0x238231(0x17d)](_0x2a98ce),this[_0x238231(0x178)](_0x58efad),this['setChunkHeader'](this[_0x238231(0x19a)]),this['buffer'];}}),new _0x8f7a1d();};