diff --git a/CHANGELOG.md b/CHANGELOG.md index ec07ea3..00478b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # CHANGELOG +## version 1.9.9 +## Fixed +1. WebCodecs send-video errors due to breaking changes to the WebCodecs API in Mac Chrome 93 & 94 + + ## version 1.9.8 ## Fixed 1. Bug where after "XMPP disconnected!" error shows in console, webinar attendees find the attendee list empty and both Q&A and Raise Hand buttons disabled diff --git a/dist/lib/av/1501_audio.encode.wasm b/dist/lib/av/1502_audio.encode.wasm similarity index 100% rename from dist/lib/av/1501_audio.encode.wasm rename to dist/lib/av/1502_audio.encode.wasm diff --git a/dist/lib/av/1501_audio.simd.wasm b/dist/lib/av/1502_audio.simd.wasm similarity index 100% rename from dist/lib/av/1501_audio.simd.wasm rename to dist/lib/av/1502_audio.simd.wasm diff --git a/dist/lib/av/1501_audio_simd.min.js b/dist/lib/av/1502_audio_simd.min.js similarity index 100% rename from dist/lib/av/1501_audio_simd.min.js rename to dist/lib/av/1502_audio_simd.min.js diff --git a/dist/lib/av/1501_js_audio_process.min.js b/dist/lib/av/1502_js_audio_process.min.js similarity index 100% rename from dist/lib/av/1501_js_audio_process.min.js rename to dist/lib/av/1502_js_audio_process.min.js diff --git a/dist/lib/av/1501_js_audio_worklet.min.js b/dist/lib/av/1502_js_audio_worklet.min.js similarity index 100% rename from dist/lib/av/1501_js_audio_worklet.min.js rename to dist/lib/av/1502_js_audio_worklet.min.js diff --git a/dist/lib/av/1501_js_media.min.js b/dist/lib/av/1502_js_media.min.js similarity index 67% rename from dist/lib/av/1501_js_media.min.js rename to dist/lib/av/1502_js_media.min.js index 9a23649..16f0992 100644 --- a/dist/lib/av/1501_js_media.min.js +++ b/dist/lib/av/1502_js_media.min.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.JsMediaSDK_Instance=t():e.JsMediaSDK_Instance=t()}(window,function(){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(i,a,function(t){return e[t]}.bind(null,a));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=197)}([function(e,t){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var i=r(2),a=r(0),n=r(9),o=r(10),s=r(13),u=function(e,t,r){var d,c,l,h=e&u.F,f=e&u.G,_=e&u.S,p=e&u.P,E=e&u.B,S=e&u.W,A=f?a:a[t]||(a[t]={}),v=A.prototype,g=f?i:_?i[t]:(i[t]||{}).prototype;for(d in f&&(r=t),r)(c=!h&&g&&void 0!==g[d])&&s(A,d)||(l=c?g[d]:r[d],A[d]=f&&"function"!=typeof g[d]?r[d]:E&&c?n(l,i):S&&g[d]==l?function(e){var t=function(t,r,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):p&&"function"==typeof l?n(Function.call,l):l,p&&((A.virtual||(A.virtual={}))[d]=l,e&u.R&&v&&!v[d]&&o(v,d,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){var i=r(58)("wks"),a=r(38),n=r(2).Symbol,o="function"==typeof n;(e.exports=function(e){return i[e]||(i[e]=o&&n[e]||(o?n:a)("Symbol."+e))}).store=i},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){var i=r(8),a=r(70),n=r(50),o=Object.defineProperty;t.f=r(7)?Object.defineProperty:function(e,t,r){if(i(e),t=n(t,!0),i(r),a)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){e.exports=!r(14)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,r){var i=r(5);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var i=r(25);e.exports=function(e,t,r){if(i(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,i){return e.call(t,r,i)};case 3:return function(r,i,a){return e.call(t,r,i,a)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var i=r(6),a=r(24);e.exports=r(7)?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){e.exports=r(105)},function(e,t,r){var i=r(47),a=r(48);e.exports=function(e){return i(a(e))}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var i=r(100),a=r(53);e.exports=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=a&&i?i(e,r):{};n.get||n.set?a(t,r,n):t[r]=e[r]}return t.default=e,t}},function(e,t,r){e.exports=r(119)},function(e,t,r){var i=r(11);function a(e,t,r,a,n,o,s){try{var u=e[o](s),d=u.value}catch(e){return void r(e)}u.done?t(d):i.resolve(d).then(a,n)}e.exports=function(e){return function(){var t=this,r=arguments;return new i(function(i,n){var o=e.apply(t,r);function s(e){a(o,i,n,s,u,"next",e)}function u(e){a(o,i,n,s,u,"throw",e)}s(void 0)})}}},function(e,t,r){"use strict";var i=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(r(149)),n=i(r(42)),o="object"===("undefined"==typeof localStorage?"undefined":(0,n.default)(localStorage))&&localStorage.__islogdebug,s=function(e,t){function r(){var e=[];return e.push.apply(e,arguments),0,e}!0===t&&(o=!0);var i=function(){var t;o&&(t=console).log.apply(t,[e].concat((0,a.default)(r(arguments))))};return["log","info","warn","error"].forEach(function(t){i[t]=function(){var i;o&&(i=console)[t].apply(i,[e].concat((0,a.default)(r(arguments))))}}),i.isEnable=function(){return o},i};s.isEnable=function(){return o};var u=s;t.default=u},function(e,t,r){"use strict";var i=r(106)(!0);r(56)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=i(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports={}},function(e,t,r){var i=r(48);e.exports=function(e){return Object(i(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VIDEO_RENDER_MONITOR_LOG=t.VIDEO_RESOLUTION_UPDATE=t.WASMPTR=t.THREAD_ENCODE_BUFFER=t.AUDIO_ENCODED_DATA=t.VIDEO_DATA_DROP_RATIO=t.VIDEO_DROP_RATIO_FROM_WCL=t.VIDEO_ENCODED_DATA=t.SHARING_DECODE_MESSAGE=t.MOUSE_DATA_VIDEO_MODE=t.SHARING_DATA_VIDEO_MODE=t.WCL_TROUBLESHOOTING_INFO=t.DELTA_S=t.DELTA_C=t.DELTA_D=t.APP_TROUBLESHOOTING_INFO=t.DOWNLOAD_WASM_FROM_MAIN_THREAD=t.WORKER_MAIN_VIDEO_DECODE_RINGBUFFER_TICK=t.WORKER_MAIN_AUDIO_ENCODE_RINGBUFFER_TICK=t.WORKER_MAIN_VIDEO_ENCODE_RINGBUFFER_TICK=t.MONITOR_MESSAGE=t.Video_Capture_Tick=t.Video_Enc_WebSocket_OK=t.DECODE_MESSAGE=t.Sharing_Data=t.Sharing_Handle_OK=t.Sharing_Dec_WebSocket_OK=t.AUDIO_DELAY=t.Sharing_Dec_PICTURE=t.Sharing_Dec_WASM_OK=t.Video_Enc_Handle_OK=t.Video_Enc_WASM_OK=t.Video_Dec_WebSocket_OK=t.Video_Dec_Handle_OK=t.Video_Dec_WASM_OK=t.Audio_Enc_Handle_OK=t.Audio_Enc_WASM_OK=t.Audio_Dec_WebSocket_OK=t.Audio_Dec_Handle_OK=t.Audio_Dec_WASM_OK=t.MIRROR_MY_VIDEO=t.SET_DESKTOP_VOLUME=t.LEAVE_DESKTOP_AUDIO=t.JOIN_DESKTOP_AUDIO=t.VIDEO_ENABLE_HW=t.START_VIDEO_STREAM_IN_MASK_SETTING_SUCCESS=t.FINISH_MASK_SETTING=t.UPDATE_MASK_INFO=t.UPDATE_BG_IMAGE=t.VIDEO_MASK_SETTING=t.AUDIO_INTERPRETATION_ENABLE=t.AUDIO_INTERPRETATION_LIST_INFO=t.AUDIO_INTERPRETATION_SELECT_LANGUAGE=t.AUIOD_INTERPRETATION_MUTE=t.ZOOM_RENDER=t.CLEAR_CANVAS=t.UPDATE_CANVAS_SIZE=t.PAUSE_OR_RESUME_AUDIO_DECODE=t.UPDATE_SHARING_DECODE_PARAM=t.USER_NODE_LIST=t.AES_GCM_IV_VALUE=t.RESEND_REMOTE_CONTROL_POSITION_PDU=t.COMMAND_SOCKET_MESSAGE_NOTIFY=t.CHANGE_CURRENT_SHARING_ACTIVE_SSRC=t.SWITCH_CANVAS_FOR_SHARING_CAPTURE=t.CHECK_CHROME_SHARING_EXTENSION=t.RESUME_DESKTOP_SHARING=t.PAUSE_DESKTOP_SHARING=t.STOP_DESKTOP_SHARING=t.START_DESKTOP_SHARING=t.UPDATE_SUBSCRIBE_VIDEO=t.CANCEL_REMOTE_CONTROL=t.UPDATE_REMOTE_CONTROL_PROPERTIES=t.START_REMOTE_CONTROL=t.SWITCH_CANVAS_FOR_VIDEO_CAPTURE=t.STOP_SHARING=t.START_SHARING=t.JOIN_COMPUTER_AUDIO=t.LEAVE_COMPUTER_AUDIO=t.REMOVE_RENDER_AUDIO=t.WEBRTC_RESTART=t.CHANGE_AUDIO_MIC=t.END_MEDIA=t.MEETING_FAIL_OVER=t.LEAVE_MEETING=t.REMOVE_AUDIO_CAPTURE=t.CHANGE_CURRENT_ACTIVE_SSRC=t.CHANGE_VIDEO_CAPTURE_DEVICE=t.CHANGE_AUDIO_SPEAKER=t.CHANGE_VIDEO_RESOLUTION=t.CHANGE_FRAME_RATE=t.MUTE_AUDIO=t.UNMUTE_AUDIO=t.STOP_RENDER_AUDIO=t.ADD_RENDER_AUDIO=t.STOP_CAPTURE_VIDEO=t.START_CAPTURE_VIDEO=t.STOP_RENDER_VIDEO=t.ADD_RENDER_VIDEO=t.START_MEDIA=void 0,t.VIDEO_CAPTURE_FRAME_COUNT_STATISTIC=t.VIDEO_CAPTURER_RESOLUTION_CHANGE=t.SHARING_FIRST_DECODE_FRAME_RECEIVED_SSRC=t.SHARING_FIRST_DECODE_FRAME_RECEIVED=t.CURRENT_DESKTOP_SHARING_WIDTH_HEIGHT_FROM_WORKER=t.CURRENT_CAPTURE_VIDEO_WIDTH_HEIGHT_FROM_WORKER=t.PUBSUB_EVT=t.EVT_TYPE_WS_VIDEO_DATACHANNEL_ANSWER=t.ZOOM_CONNECTION_AUDIO_OFFER_RESPONSE_EVT=t.ZOOM_CONNECTION_VIDEO_OFFER_RESPONSE_EVT=t.ZOOM_CONNECTION_VIDEO_OFFER_EVT=t.VIDEO_ENCODE_DATA_FROM_WORKER=t.AUDIO_DATA_FROM_WORKER=t.VIDEO_DATA_FROM_WORKER=t.SHARING_PARAM_INFO_FROM_SOCKET=t.AUDIO_ILLEGAL=t.AUDIO_REMOVE=t.AUDIO_START=t.AUDIO_STOP=t.WEBGL_LOST_IN_MULTI_VIEW=t.WCL_SIP_REJECT_INVITE=t.SHARING_DESKTOP_STREAM_HAVE_NO_AUDIO=t.WCL_SIP_WEBSOCKET_CONNECT_ERROR=t.WCL_SIP_WEBSOCKET_DISCONNECTED=t.WCL_SIP_HUNGUP_FAILED=t.AUDIO_AUTO_PLAY_FAILED=t.AUDIO_CLIPPING=t.DESKTOP_SHARING_SYSTEM_ERROR=t.AUDIO_SPEAKER_SET_ERROR=t.DESKTOP_SHARING_ERROR=t.DESKTOP_SHARING_TIME_OUT=t.DESKTOP_SHARING_PERMISSION_DENIED=t.DESKTOP_SHARING_CHROME_EXTENSION_UNINSTALLED=t.USER_CANCEL_PERMISSION_REQUEST=t.USER_STOP_DESKTOP_SHARING=t.REMOTE_CONTROL_PASTE_TEXT_LENGTH_OVERFLOW=t.CANCEL_REMOTE_CONTROL_FAILED=t.START_REMOTE_CONTROL_FAILED=t.STOP_VIDEO_CAPTURE_FAILED=t.USER_CAMERA_IS_TAKEN_BY_OTHER_PROGRAMS=t.USER_FORBIDDED_CAPTURE_VIDEO=t.AUDIO_CTX_SAMPLERATE=t.AUDIO_ZERO_DATA=t.SHARING_DEC_THREAD_FAILED=t.VIDEO_WEBSOCKET_BROKEN=t.AUDIO_WEBSOCKET_BROKEN=t.USER_FORBIDDED_CAPTURE_AUDIO=t.INIT_FAILED_SHARING=t.INIT_FAILED_AUDIO=t.INIT_FAILED_VIDEO=t.INIT_FAILED=t.FIRST_IOS_FRAME=t.SHARING_DESKTOP_STREAM_HAVE_AUDIO=t.WCL_SIP_CREATE_SUCCESS=t.AES_GCM_IV_RESPONSE=t.SEND_MESSAGE_TO_RWG=t.SHARING_DECODE_MAX_SIZE=t.CHECK_CHROME_SHARING_EXTENSION_RESPONSE=t.DESKTOP_SHARING_CAPTURE_SUCCESS=t.CURRENT_DESKTOP_SHARING_WIDTH_HEIGHT=t.MONITOR_LOG=t.REMOTE_CONTROL_COPIED_TEXT_NOTIFY=t.CANCEL_REMOTE_CONTROL_SUCCESS=t.START_REMOTE_CONTROL_SUCCESS=t.STOP_VIDEO_CAPTURE_SUCCESS=t.START_VIDEO_CAPTURE_SUCCESS=t.CURRENT_CAPTURE_VIDEO_WIDTH_HEIGHT=t.VIDEO_DECODE_MAX_SIZE=t.SHARING_MORE_INFO=t.SHARING_PARA=t.SHARING_DATA=t.SHARING_DEC_THREAD_OK=t.CURRENT_VIDEO_RESOLUTION=t.USER_GRANT_CAPTURE_AUDIO=t.INIT_SUCCESS_SHARING=t.INIT_SUCCESS_AUDIO=t.INIT_SUCCESS_VIDEO=t.INIT_SUCCESS=t.MULTIVIEW_WEBGL_CONTEXT_LOST=t.Video_Enc_WebSocket_FAILED=t.Sharing_Dec_WebSocket_FAILED=t.Sharing_Handle_FAILED=t.Audio_Mute=t.Sharing_Dec_WASM_FAILED=t.Video_Enc_Handle_FAILED=t.Video_Enc_WASM_FAILED=t.Video_Dec_WebSocket_FAILED=t.Video_Dec_Handle_FAILED=t.Video_Dec_WASM_FAILED=t.Audio_Enc_Handle_FAILED=t.Audio_Enc_WASM_FAILED=t.Audio_Dec_WebSocket_FAILED=t.Audio_Dec_Handle_FAILED=t.Audio_Dec_WASM_FAILED=t.CURRENT_SSRC_TIME=t.AES_GCM_IV_CALLBACK_FROM_WASM=t.AES_GCM_IV_TO_WASM=t.SHARING_GET_IMAGE_DATA_WRONG=t.SHARING_RENDER_MONITOR_LOG=t.Sharing_Width_And_Height_Info=void 0,t.RWG_WCL_PDU_QOS_DATA=t.DATA_DIRECTION_FROM_SEND=t.DATA_DIRECTION_FROM_RECEIVE=t.HAVE_WATERMARK=t.HAVE_NO_WATERMARK=t.SET_INTERVAL_MODE=t.RQUEST_ANIMATION_MODE=t.MEDIA_VIDEO_REPORT_RTT=t.MEDIA_VIDEO_REPORT_DROP_RATIO=t.UNSUPPORTED_VIDEO_FORMAT=t.UNSUPPORTED_SHARING_FORMAT=t.SHARING_CAPTURE_FRAME_COUNT_STATISTIC=void 0;t.START_MEDIA=0;t.ADD_RENDER_VIDEO=1;t.STOP_RENDER_VIDEO=2;t.START_CAPTURE_VIDEO=3;t.STOP_CAPTURE_VIDEO=4;t.ADD_RENDER_AUDIO=5;t.STOP_RENDER_AUDIO=6;t.UNMUTE_AUDIO=7;t.MUTE_AUDIO=8;t.CHANGE_FRAME_RATE=9;t.CHANGE_VIDEO_RESOLUTION=10;t.CHANGE_AUDIO_SPEAKER=11;t.CHANGE_VIDEO_CAPTURE_DEVICE=12;t.CHANGE_CURRENT_ACTIVE_SSRC=13;t.REMOVE_AUDIO_CAPTURE=14;t.LEAVE_MEETING=15;t.MEETING_FAIL_OVER=16;t.END_MEDIA=17;t.CHANGE_AUDIO_MIC=18;t.WEBRTC_RESTART=19;t.REMOVE_RENDER_AUDIO=20;t.LEAVE_COMPUTER_AUDIO=21;t.JOIN_COMPUTER_AUDIO=22;t.START_SHARING=23;t.STOP_SHARING=24;t.SWITCH_CANVAS_FOR_VIDEO_CAPTURE=25;t.START_REMOTE_CONTROL=26;t.UPDATE_REMOTE_CONTROL_PROPERTIES=27;t.CANCEL_REMOTE_CONTROL=28;t.UPDATE_SUBSCRIBE_VIDEO=29;t.START_DESKTOP_SHARING=30;t.STOP_DESKTOP_SHARING=31;t.PAUSE_DESKTOP_SHARING=32;t.RESUME_DESKTOP_SHARING=33;t.CHECK_CHROME_SHARING_EXTENSION=34;t.SWITCH_CANVAS_FOR_SHARING_CAPTURE=35;t.CHANGE_CURRENT_SHARING_ACTIVE_SSRC=36;t.COMMAND_SOCKET_MESSAGE_NOTIFY=40;t.RESEND_REMOTE_CONTROL_POSITION_PDU=41;t.AES_GCM_IV_VALUE=42;t.USER_NODE_LIST=43;t.UPDATE_SHARING_DECODE_PARAM=44;t.PAUSE_OR_RESUME_AUDIO_DECODE=45;t.UPDATE_CANVAS_SIZE=46;t.CLEAR_CANVAS=47;t.ZOOM_RENDER=48;t.AUIOD_INTERPRETATION_MUTE=58;t.AUDIO_INTERPRETATION_SELECT_LANGUAGE=59;t.AUDIO_INTERPRETATION_LIST_INFO=60;t.AUDIO_INTERPRETATION_ENABLE=61;t.VIDEO_MASK_SETTING=62;t.UPDATE_BG_IMAGE=63;t.UPDATE_MASK_INFO=64;t.FINISH_MASK_SETTING=65;t.START_VIDEO_STREAM_IN_MASK_SETTING_SUCCESS=66;t.VIDEO_ENABLE_HW=70;t.JOIN_DESKTOP_AUDIO=72;t.LEAVE_DESKTOP_AUDIO=73;t.SET_DESKTOP_VOLUME=74;t.MIRROR_MY_VIDEO=75;t.Audio_Dec_WASM_OK=1;t.Audio_Dec_Handle_OK=2;t.Audio_Dec_WebSocket_OK=3;t.Audio_Enc_WASM_OK=4;t.Audio_Enc_Handle_OK=5;t.Video_Dec_WASM_OK=7;t.Video_Dec_Handle_OK=8;t.Video_Dec_WebSocket_OK=9;t.Video_Enc_WASM_OK=10;t.Video_Enc_Handle_OK=11;t.Sharing_Dec_WASM_OK=12;t.Sharing_Dec_PICTURE=13;t.AUDIO_DELAY=14;t.Sharing_Dec_WebSocket_OK=15;t.Sharing_Handle_OK=16;t.Sharing_Data=17;t.DECODE_MESSAGE=18;t.Video_Enc_WebSocket_OK=19;t.Video_Capture_Tick=20;t.MONITOR_MESSAGE=21;t.WORKER_MAIN_VIDEO_ENCODE_RINGBUFFER_TICK=22;t.WORKER_MAIN_AUDIO_ENCODE_RINGBUFFER_TICK=23;t.WORKER_MAIN_VIDEO_DECODE_RINGBUFFER_TICK=24;t.DOWNLOAD_WASM_FROM_MAIN_THREAD=30;t.APP_TROUBLESHOOTING_INFO=31;t.DELTA_D=32;t.DELTA_C=33;t.DELTA_S=34;t.WCL_TROUBLESHOOTING_INFO=35;t.SHARING_DATA_VIDEO_MODE=36;t.MOUSE_DATA_VIDEO_MODE=37;t.SHARING_DECODE_MESSAGE=38;t.VIDEO_ENCODED_DATA=39;t.VIDEO_DROP_RATIO_FROM_WCL=40;t.VIDEO_DATA_DROP_RATIO=41;t.AUDIO_ENCODED_DATA=42;t.THREAD_ENCODE_BUFFER=46;t.WASMPTR=47;t.VIDEO_RESOLUTION_UPDATE=50;t.VIDEO_RENDER_MONITOR_LOG=51;t.Sharing_Width_And_Height_Info=52;t.SHARING_RENDER_MONITOR_LOG=53;t.SHARING_GET_IMAGE_DATA_WRONG=54;t.AES_GCM_IV_TO_WASM=55;t.AES_GCM_IV_CALLBACK_FROM_WASM=56;t.CURRENT_SSRC_TIME=57;t.Audio_Dec_WASM_FAILED=-1;t.Audio_Dec_Handle_FAILED=-2;t.Audio_Dec_WebSocket_FAILED=-3;t.Audio_Enc_WASM_FAILED=-4;t.Audio_Enc_Handle_FAILED=-5;t.Video_Dec_WASM_FAILED=-7;t.Video_Dec_Handle_FAILED=-8;t.Video_Dec_WebSocket_FAILED=-9;t.Video_Enc_WASM_FAILED=-10;t.Video_Enc_Handle_FAILED=-11;t.Sharing_Dec_WASM_FAILED=-12;t.Audio_Mute=-13;t.Sharing_Handle_FAILED=-14;t.Sharing_Dec_WebSocket_FAILED=-15;t.Video_Enc_WebSocket_FAILED=-16;t.MULTIVIEW_WEBGL_CONTEXT_LOST=-26;t.INIT_SUCCESS=1;t.INIT_SUCCESS_VIDEO=1.1;t.INIT_SUCCESS_AUDIO=1.2;t.INIT_SUCCESS_SHARING=1.3;t.USER_GRANT_CAPTURE_AUDIO=2;t.CURRENT_VIDEO_RESOLUTION=3;t.SHARING_DEC_THREAD_OK=4;t.SHARING_DATA=5;t.SHARING_PARA=6;t.SHARING_MORE_INFO=6.1;t.VIDEO_DECODE_MAX_SIZE=7;t.CURRENT_CAPTURE_VIDEO_WIDTH_HEIGHT=8;t.START_VIDEO_CAPTURE_SUCCESS=9;t.STOP_VIDEO_CAPTURE_SUCCESS=10;t.START_REMOTE_CONTROL_SUCCESS=11;t.CANCEL_REMOTE_CONTROL_SUCCESS=12;t.REMOTE_CONTROL_COPIED_TEXT_NOTIFY=13;t.MONITOR_LOG=14;t.CURRENT_DESKTOP_SHARING_WIDTH_HEIGHT=15;t.DESKTOP_SHARING_CAPTURE_SUCCESS=16;t.CHECK_CHROME_SHARING_EXTENSION_RESPONSE=17;t.SHARING_DECODE_MAX_SIZE=18;t.SEND_MESSAGE_TO_RWG=20;t.AES_GCM_IV_RESPONSE=21;t.WCL_SIP_CREATE_SUCCESS=22;t.SHARING_DESKTOP_STREAM_HAVE_AUDIO=23;t.FIRST_IOS_FRAME=24;t.INIT_FAILED=-1;t.INIT_FAILED_VIDEO=-1.1;t.INIT_FAILED_AUDIO=-1.2;t.INIT_FAILED_SHARING=-1.3;t.USER_FORBIDDED_CAPTURE_AUDIO=-2;t.AUDIO_WEBSOCKET_BROKEN=-3;t.VIDEO_WEBSOCKET_BROKEN=-4;t.SHARING_DEC_THREAD_FAILED=-5;t.AUDIO_ZERO_DATA=-6;t.AUDIO_CTX_SAMPLERATE=-7;t.USER_FORBIDDED_CAPTURE_VIDEO=-8;t.USER_CAMERA_IS_TAKEN_BY_OTHER_PROGRAMS=-9;t.STOP_VIDEO_CAPTURE_FAILED=-10;t.START_REMOTE_CONTROL_FAILED=-11;t.CANCEL_REMOTE_CONTROL_FAILED=-12;t.REMOTE_CONTROL_PASTE_TEXT_LENGTH_OVERFLOW=-14;t.USER_STOP_DESKTOP_SHARING=-15;t.USER_CANCEL_PERMISSION_REQUEST=-16;t.DESKTOP_SHARING_CHROME_EXTENSION_UNINSTALLED=-17;t.DESKTOP_SHARING_PERMISSION_DENIED=-18;t.DESKTOP_SHARING_TIME_OUT=-19;t.DESKTOP_SHARING_ERROR=-20;t.AUDIO_SPEAKER_SET_ERROR=-21;t.DESKTOP_SHARING_SYSTEM_ERROR=-22;t.AUDIO_CLIPPING=-23;t.AUDIO_AUTO_PLAY_FAILED=-24;t.WCL_SIP_HUNGUP_FAILED=-25;t.WCL_SIP_WEBSOCKET_DISCONNECTED=-26;t.WCL_SIP_WEBSOCKET_CONNECT_ERROR=-28;t.SHARING_DESKTOP_STREAM_HAVE_NO_AUDIO=-27;t.WCL_SIP_REJECT_INVITE=-30;t.WEBGL_LOST_IN_MULTI_VIEW=-32;t.AUDIO_STOP=0;t.AUDIO_START=1;t.AUDIO_REMOVE=2;t.AUDIO_ILLEGAL=-1;t.SHARING_PARAM_INFO_FROM_SOCKET="SHARING_PARAM_INFO_FROM_SOCKET";t.VIDEO_DATA_FROM_WORKER="VIDEO_DATA_FROM_WORKER";t.AUDIO_DATA_FROM_WORKER="AUDIO_DATA_FROM_WORKER";t.VIDEO_ENCODE_DATA_FROM_WORKER="VIDEO_ENCODE_DATA_FROM_WORKER";t.ZOOM_CONNECTION_VIDEO_OFFER_EVT=24321;t.ZOOM_CONNECTION_VIDEO_OFFER_RESPONSE_EVT=24322;t.ZOOM_CONNECTION_AUDIO_OFFER_RESPONSE_EVT=24322;t.EVT_TYPE_WS_VIDEO_DATACHANNEL_ANSWER=24322;t.PUBSUB_EVT={ZOOM_CONNECTION_VIDEO_OFFER_RESPONSE_EVT:"ZOOM_CONNECTION_VIDEO_OFFER_RESPONSE_EVT",ZOOM_CONNECTION_AUDIO_OFFER_RESPONSE_EVT:"ZOOM_CONNECTION_AUDIO_OFFER_RESPONSE_EVT",END_MEDIA:"END_MEDIA",DESTROY:"DESTROY",VIDEO_DATACHANNEL_SPEED:"VIDEO_DATACHANNEL_SPEED",DC_COMING_MESSAGE:"DC_COMING_MESSAGE"};t.CURRENT_CAPTURE_VIDEO_WIDTH_HEIGHT_FROM_WORKER=67;t.CURRENT_DESKTOP_SHARING_WIDTH_HEIGHT_FROM_WORKER=68;t.SHARING_FIRST_DECODE_FRAME_RECEIVED=69;t.SHARING_FIRST_DECODE_FRAME_RECEIVED_SSRC=70;t.VIDEO_CAPTURER_RESOLUTION_CHANGE=71;t.VIDEO_CAPTURE_FRAME_COUNT_STATISTIC=72;t.SHARING_CAPTURE_FRAME_COUNT_STATISTIC=73;t.UNSUPPORTED_SHARING_FORMAT=75;t.UNSUPPORTED_VIDEO_FORMAT=76;t.MEDIA_VIDEO_REPORT_DROP_RATIO=100;t.MEDIA_VIDEO_REPORT_RTT=101;t.RQUEST_ANIMATION_MODE=0;t.SET_INTERVAL_MODE=1;t.HAVE_NO_WATERMARK=!1;t.HAVE_WATERMARK=!0;t.DATA_DIRECTION_FROM_RECEIVE=0;t.DATA_DIRECTION_FROM_SEND=1;t.RWG_WCL_PDU_QOS_DATA=108},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=!0},function(e,t,r){var i=r(72),a=r(59);e.exports=Object.keys||function(e){return i(e,a)}},function(e,t,r){var i=r(6).f,a=r(13),n=r(4)("toStringTag");e.exports=function(e,t,r){e&&!a(e=r?e:e.prototype,n)&&i(e,n,{configurable:!0,value:t})}},function(e,t,r){r(111);for(var i=r(2),a=r(10),n=r(20),o=r(4)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;uv;v++)if((E=t?A(o(_=e[v])[0],_[1]):A(e[v]))===d||E===c)return E}else for(p=S.call(e);!(_=p.next()).done;)if((E=a(p,A,_.value,t))===d||E===c)return E}).BREAK=d,t.RETURN=c},function(e,t,r){"use strict";var i=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=function(){var e=this;this.promise=new d.default(function(t,r){e.reject=r,e.resolve=t})},t.getFilename=R,t.getGcd=C,t.getLcm=D,t.AdjustRegion_AspectRatio=function(e,t,r,i,a,n,o){if(0==e||0==t)return!1;if(0!=a){var s=D(e,a),u=s/e;e=s,t*=u}if(0!=n){var d=D(t,n),c=d/t;t=d,e*=c}if(o.width=r&&parseInt(i[r],10)}var f=function(){var e=window.navigator,t={browser:null,version:null};if("undefined"==typeof window||!window.navigator)return t.browser="Not a browser.",t;if(e.mozGetUserMedia)t.browser="firefox",t.version=h(e.userAgent,/Firefox\/(\d+)\./,1);else if(e.webkitGetUserMedia)t.browser="chrome",t.version=h(e.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(e.mediaDevices&&e.userAgent.match(/Edge\/(\d+).(\d+)$/))t.browser="edge",t.version=h(e.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!window.RTCPeerConnection||!e.userAgent.match(/AppleWebKit\/(\d+)\./))return t.browser="Not a supported browser.",t;t.browser="safari",t.version=h(e.userAgent,/AppleWebKit\/(\d+)\./,1)}return t}();function _(){try{var e=navigator.userAgent||navigator.vendor||window.opera;return!!/android/i.test(e)}catch(e){return!1}}function p(){var e=navigator.userAgent.match(/CrKey\/([\d.]+)/);if(e){var t=e[1].match(/[0-9]{0,2}[.][0-9]{0,2}/);return t?t[0]:-1}return-1}function E(){return-1!==navigator.userAgent.indexOf("CrKey")}function S(){return"function"==typeof VideoTrackReader&&"function"==typeof VideoFrame&&!(_()&&!E())}var A,v,g,m={isGoogleNestChrome:function(){return E()},isHighVersionGoolgeNestChrome:function(){return-1!==navigator.userAgent.indexOf("CrKey")&&p()>=1.54},isSupport2DCanvasDrawFrame:function(){return("function"==typeof MediaStreamTrackProcessor||S())&&!E()&&"chrome"==f.browser&&f.version>=90&&-1==navigator.appVersion.indexOf("Mac")},checkLocalP2PConnection:function(){return new d.default(function(){var e=(0,u.default)(s.default.mark(function e(t,r){var i,a,n,o,u,c,l,h;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=function(e){e&&e.close()},i=function(e){return new d.default(function(t,r){e.onconnectionstatechange=function(r){"connected"===e.connectionState&&t(!0)}})},n=null,o=null,u=document.createElement("canvas"),e.prev=5,u.width=200,u.height=200,u.getContext("2d"),h=u.captureStream(),n=new RTCPeerConnection,o=new RTCPeerConnection,n.onicecandidate=function(e){e.candidate&&o.addIceCandidate(new RTCIceCandidate(e.candidate))},o.onicecandidate=function(e){e.candidate&&n.addIceCandidate(new RTCIceCandidate(e.candidate))},d.default.all([i(n),i(o)]).then(function(){t(!0),a(n),a(o)}),e.next=17,n.addStream(h);case 17:return e.next=19,n.createOffer();case 19:return c=e.sent,e.next=22,n.setLocalDescription(c);case 22:return e.next=24,o.setRemoteDescription(c);case 24:return e.next=26,o.createAnswer();case 26:return l=e.sent,e.next=29,o.setLocalDescription(l);case 29:return e.next=31,n.setRemoteDescription(l);case 31:setTimeout(function(){t(!1),a(n),a(o)},100),e.next=38;break;case 34:e.prev=34,e.t0=e.catch(5),console.log(e.t0),t(!1);case 38:case"end":return e.stop()}},e,this,[[5,34]])}));return function(t,r){return e.apply(this,arguments)}}())},getDocumentHandle:function(e){return document.getElementById(e)},browserType:f,browser:{isFirefox:"firefox"===f.browser,isChrome:"chrome"===f.browser,isEdge:"edge"===f.browser,isSafari:"safari"===f.browser},isIphoneOrIpadSafari:function(){var e=navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i)||!!e.match(/Macintosh/),r=!!e.match(/WebKit/i),i=!!e.match(/Mobile/i),a=isIPad();return t&&r&&(i||a)},isOpera65:function(){try{var e=navigator.userAgent.match(/OPR\/(\d+)\./);return!!(e&&Number(e[1])<66)}catch(e){return!1}},isAndroidBrowser:function(){return _()},isChromeOS:function(){return function(){try{return!!/\bCrOS\b/.test(navigator.userAgent)}catch(e){return!1}}()},download:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(l[e])return l[e];var r=new d.default(function(r,i){var a={};t&&(a.integrity=t),fetch(e,a).then(function(e){r(e.text())}).catch(function(e){i(e)})});return l[e]=r,r},downloadBinary:function(e){if(l[e])return l[e];var t=new d.default(function(t,r){var i=new XMLHttpRequest;i.responseType="arraybuffer",i.addEventListener("load",function(){t(this.response)},i),i.onerror=function(e){r(e)},i.open("get",e,!0),i.send()});return l[e]=t,t},readBlob:function(e){return new d.default(function(t,r){var i=new FileReader;i.onload=function(){t(i.result)},i.readAsText(e)})},readBlobAsBuffer:function(e){return new d.default(function(t,r){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.readAsArrayBuffer(e)})},lengthInUtf8Bytes:function(e){var t=encodeURIComponent(e).match(/%[89ABab]/g);return e.length+(t?t.length:0)},isLittleEndian:function(){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);return t[0]=170,t[1]=187,48042===r[0]},sleep:function(e){return new d.default(function(t,r){setTimeout(function(){t(!0)},e)})},isSDKSupportMultiThread:(g=(0,u.default)(s.default.mark(function e(){var t;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.default.threads();case 3:t=e.sent,e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),t=!1;case 9:return e.abrupt("return",t&&"firefox"!=f.browser&&navigator.userAgent&&(-1==navigator.userAgent.indexOf("CrKey")||p()>=1.54));case 10:case"end":return e.stop()}},e,this,[[0,6]])})),function(){return g.apply(this,arguments)}),IsSupportHardwareAcceleration:(v=(0,u.default)(s.default.mark(function e(){var t,r;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof VideoDecoder){e.next=13;break}return t=new Uint8Array([1,100,0,31,255,225,0,14,103,100,0,51,172,27,26,17,129,64,22,201,160,16,7,0,5,104,200,66,60,48,0,5,104,82,16,207,12,0,25,104,114,16,143,24,67,17,132,56,140,84,81,8,18,22,41,3,194,98,3,5,32,122,9,140,0,5,104,36,132,51,203,0,5,104,46,132,51,195,0,25,104,54,132,35,198,16,196,97,14,35,21,20,66,4,133,138,64,240,152,128,193,72,30,130,99,0,5,104,62,132,51,203]),r={codec:"avc1.640028",description:t,codedWidth:1280,codedHeight:720,hardwareAcceleration:"require"},e.next=5,VideoDecoder.isConfigSupported(r);case 5:if(!e.sent.supported){e.next=10;break}return e.abrupt("return",!0);case 10:return e.abrupt("return",!1);case 11:e.next=14;break;case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}},e,this)})),function(){return v.apply(this,arguments)}),isSDKSupportSIMD:(A=(0,u.default)(s.default.mark(function e(){var t;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("object"===("undefined"==typeof WebAssembly?"undefined":(0,o.default)(WebAssembly))){e.next=2;break}return e.abrupt("return",!1);case 2:if(e.prev=2,"chrome"!=f.browser){e.next=13;break}if(!(f.version>=84)){e.next=10;break}return e.next=7,c.default.simd();case 7:t=e.sent,e.next=11;break;case 10:t=!1;case 11:e.next=16;break;case 13:return e.next=15,c.default.simd();case 15:t=e.sent;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(2),t=!1;case 21:return e.abrupt("return",t);case 22:case"end":return e.stop()}},e,this,[[2,18]])})),function(){return A.apply(this,arguments)}),buffer2stringSplitByComma:function(e){return new Uint8Array(e).join(",")},stringSplitByComma2Buffer:function(e){try{for(var t=e.split(",").map(function(e){return parseInt(e)}),r=new ArrayBuffer(t.length),i=new Uint8Array(r),a=0;a0)return e.match(/firefox\/[\d.]+/gi);if(e.indexOf("safari")>0&&e.indexOf("chrome")<0){var t,r="safari/unknow";return r=e.match(/safari\/[\d.]+/gi),t=e.match(/safari\/[\d.]+/gi),r&&(r=r.toString().replace("version","safari")),t&&(r=t.toString().replace("version","safari")),r}return e.indexOf("chrome")>0?e.match(/chrome\/[\d.]+/gi):"other"}()[0].match(/(\d\d)/)[0]},getIOSMajorVersion:function(){if(/iP(hone|od|ad)/.test(navigator.platform)){var e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return parseInt(e[1],10)}return null},isSupportImageCapture:function(){return"function"==typeof ImageCapture&&"function"==typeof OffscreenCanvas&&!_()&&"firefox"!==f.browser},isSupportVideoTrackReader:function(){return S()},isSupportSharedArrayBuffer:function(){return"undefined"!=typeof SharedArrayBuffer},checkAudioAutoPlay:function(){return new d.default(function(e,t){var r=new Blob([new Uint8Array([255,227,24,196,0,0,0,3,72,1,64,0,0,4,132,16,31,227,192,225,76,255,67,12,255,221,27,255,228,97,73,63,255,195,131,69,192,232,223,255,255,207,102,239,255,255,255,101,158,206,70,20,59,255,254,95,70,149,66,4,16,128,0,2,2,32,240,138,255,36,106,183,255,227,24,196,59,11,34,62,80,49,135,40,0,253,29,191,209,200,141,71,7,255,252,152,74,15,130,33,185,6,63,255,252,195,70,203,86,53,15,255,255,247,103,76,121,64,32,47,255,34,227,194,209,138,76,65,77,69,51,46,57,55,170,170,170,170,170,170,170,170,170,170,255,227,24,196,73,13,153,210,100,81,135,56,0,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170])],{type:"audio/mpeg"});new Audio(URL.createObjectURL(r)).play().then(function(){e(!0)}).catch(function(e){t(e)})})}};function R(e){return e.split("/").pop().split("?")[0].split("#")[0]}t.default=m;var I=function(){function e(t,r){(0,a.default)(this,e),this.scriptURL=t,this.lateLoadedAssetsHash=r}return(0,n.default)(e,[{key:"getIntegrity",value:function(){var e=R(this.scriptURL),t=this.lateLoadedAssetsHash[e];return t||null}}]),e}();function C(e,t){var r=Math.max(e,t),i=Math.min(e,t);return r%i==0?i:C(r%i,i)}function D(e,t){return e*t/C(e,t)}t.IntegrityHelper=I},function(e,t,r){"use strict";var i=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(r(88)),n=i(r(31)),o=r(161),s=i(r(18)),u=r(33),d=(0,s.default)("sdk.variables");function c(){}c.prototype.initDB=function(){var e,t={},r=this;t.init=function(i){if(this.db_name=i.db_name,this.db_version=i.db_version,this.db_store_name=i.db_store_name,indexedDB){try{e=indexedDB.open(this.db_name,this.db_version)}catch(e){return d(e),void(r.indexDbObject=null)}e.onerror=function(e){r.indexDbObject=null},e.onupgradeneeded=function(e){this.db=e.target.result,this.db.createObjectStore(t.db_store_name)},e.onsuccess=function(e){t.db=e.target.result,r.openIndexFlag=!0,r.indexDbObject.select("delay")}}else r.indexDbObject=null},t.put=function(e,r){try{var i=t.db.transaction(t.db_store_name,"readwrite").objectStore(t.db_store_name).put(e,r);i.onsuccess=function(){},i.onerror=function(e){d("Set Delay failed!")}}catch(e){d("IndexDb put Failed!")}},t.delete=function(r){(e=t.db.transaction(t.db_store_name,"readwrite").objectStore(t.db_store_name).delete(r)).onsuccess=function(){d("Delete the key:"+r)}},t.select=function(e){try{var i=t.db.transaction(t.db_store_name,"readwrite").objectStore(t.db_store_name);if(e)var a=i.get(e);else a=i.getAll();a.onsuccess=function(){r.audioDelay=a.result},a.onerror=function(){r.audioDelay=0}}catch(e){d("IndexDb Select Failed")}},t.clear=function(){t.db.transaction(t.db_store_name,"readwrite").objectStore(t.db_store_name).clear().onsuccess=function(){d("Clear the IndexDb Successfully")}},t.close=function(){t.db&&t.db.close()},this.indexDbObject=t,this.indexDbObject.init({db_name:"AEC",db_version:1,db_store_name:"delay"})},c.prototype.Notify_APPUI_SAFE=function(){this._Notify_APPUI&&(d("Notify_APPUI_SAFE",arguments),this._Notify_APPUI.apply(this,arguments))},c.prototype.Notify_APPUI=function(){this._Notify_APPUI&&(d("Notify_APPUI",arguments),this._Notify_APPUI.apply(this,arguments))},c.prototype.sendMessageToRwg=function(e,t){try{this.rwgAgent?this.rwgAgent.sendMessageToRwg(t):this.Notify_APPUI_SAFE(e,t)}catch(e){d.error(e)}},c.prototype.reinit=function(){this.SPECIAL_ID=0,this._Notify_APPUI=null,this.localAudioDecMGR=null,this.localVideoDecMGR=null,this.localAudioEncMGR=null,this.localVideoEncMGR=null,this.localSharingDecMGR=null,this.localMouseDecMGR=null,this.localSharingEncMGR=null,this.localAudioPara=null,this.localVideoPara=null,this.localSharingPara=null,this.Audio_WebSocket_Ip_Address=null,this.Video_WebSocket_Ip_Address=null,this.Sharing_WebSocket_Ip_Address=null,this.mediaSDKHandle=null,this.audio_pcm_queue=new a.default,this.int16Array=null,this.isInitialFailed=!1,this.isAudioEncodeWASMOK=!1,this.isAudioDecodeWASMOK=!1,this.isVideoEncodeWASMOK=!1,this.isVideoDecodeWASMOK=!1,this.isSharingDecodeWASMOK=!1,this.isSharingEncodeWASMOK=!1,this.audioEncWorkerPath="",this.audioDecWorkerPath="",this.videoDecWorkerPath="",this.videoEncWorkerPath="",this.sharingDecWorkerPath="",this.sharingEncWorkerPath="",this.isAudioEncodePostStart=!1,this.isAudioDecodePostStart=!1,this.isVideoDecodePostStart=!1,this.isVideoEncodePostStart=!1,this.isSharingDecodePostStart=!1,this.isSharingEncodePostStart=!1,this.isAudioEncodeThreadStart=!1,this.isAudioDecodeThreadStart=!1,this.isVideoDecodeThreadStart=!1,this.isSharingDecodeThreadStart=!1,this.isVideoEncodeThreadStart=!1,this.isSharingEncodeThreadStart=!1,this.isAudioPlayWork=!1,this.isVideoPlayWork=!1,this.isSharingPlayWork=!1,this.shareBufferSampleNumb=30,this.initialSuccessNumb=0,this.TotalWaitEvent=0,this.audioPostInterval=null,this.sharedBuffer=null,this.indexDbObject=null,this.audioDelay=0,this.openIndexFlag=!1,this.audioBufferSize=n.default.browser.isEdge||n.default.browser.isFirefox?30:15,this.monitorEncodeVideo=null,this.monitorDecodeVideo=null,this.monitorEncodeSharing=null,this.monitorDecodeSharing=null,this.monitorEncodeAudio=null,this.monitorDecodeAudio=null,this.monitorVideoCapture=null,this.monitorAudioCapture=null,this.monitorIntervalHandle=null,this.monitorVideoUserID=null,this.monitorAudioUserID=null,this.monitorSharingUserID=null,this.monitorSharingEncodeAPPInfo=null,this.monitorVideoDecodeAPPInfo=null,this.monitorVideoEncodeAPPInfo=null,this.monitorCid=null,this.e2eencrypt=!1,this.AudioNode=null,this.CurrentSSRC=0,this.CurrentSSRCTime=0,this.videoDecResponseText=null,this.videoEncResponseText=null,this.sharingDecodeResponse=null,this.sharingEncodeResponse=null,this.sharingDecInitInstance=new o.SharingInit(u.WORKER_TYPE.SHARING_DECODE),this.sharingEncInitInstance=new o.SharingInit(u.WORKER_TYPE.SHARING_ENCODE),this.videoDecInitInstance=new o.VideoInit(u.WORKER_TYPE.VIDEO_DECODE),this.videoInitInstance=new o.VideoInit(u.WORKER_TYPE.VIDEO_ENCODE),this.audioDecInitInstance=new o.AudioInit(u.WORKER_TYPE.AUDIO_DECODE),this.audioEncodeInitInstance=new o.AudioInit(u.WORKER_TYPE.AUDIO_ENCODE),this.audioDecodeResponse=null,this.audioEncodeResponse=null,this.ivObj={},this.userNodeList=[],this.rwgAgent=null,this.initDB()};var l=new c;t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageEnum=t.MAIN_WORKER_COMMAND=t.WORKER_TYPE=t.workerStartTypeToDevToolWorkerNameEnum=t.OS_ENUM=t.ConnectionType=t.EncodeDecodeEnum=t.ZOOM_CONNECTION_TYPE=void 0;t.ZOOM_CONNECTION_TYPE={ZOOM_CONNECTION_COMMAND:0,ZOOM_CONNECTION_AUDIO:1,ZOOM_CONNECTION_VIDEO:2,ZOOM_CONNECTION_SHARING_JPEG:3,ZOOM_CONNECTION_SHARING_VIDEO:4,ZOOM_CONNECTION_MEDIA_LOG:5,ZOOM_CONNECTION_SHARING_REMOTE_CONTROL:6,ZOOM_CONNECTION_UNKNOW:7};t.EncodeDecodeEnum={encode:1,decode:2};t.ConnectionType={AUDIO:1,SHARING:2,VIDEO:3};t.OS_ENUM={UNKNOWN:0,WIN:1,MAC:2,PAD:3,MOBILE:4,CALL_IN:5,LINUX:6,WEB:7,CHROME:8};t.workerStartTypeToDevToolWorkerNameEnum={0:"27D10C2BC0312F11BE79BF9AA0668220",1:"D5AC365D95ACF72EE1E8D0FED594C0CD",2:"AEF36FC5C22CE7AAF5DC05913633EDF7",3:"BD3DF97B715748F6B6A5F59271A2D1A0",4:"D0AEDC804599C31391A946904C74595F",5:"65DEAF0AA73F220ED401B90CFFCDFF23"};t.WORKER_TYPE={VIDEO_ENCODE:"0",VIDEO_DECODE:"1",AUDIO_ENCODE:"2",AUDIO_DECODE:"3",SHARING_ENCODE:"4",SHARING_DECODE:"5"};t.MAIN_WORKER_COMMAND={SET_USER_NODE_LIST:"SET_USER_NODE_LIST"};t.MessageEnum={CLOSE:"CLOSE",CLOSE_SUCCESS:"CLOSE_SUCCESS",CLOSE_FAIL:"CLOSE_FAIL",IS_CLOSED:"IS_CLOSED",START_SHARING_IE:"START_SHARING_IE",START_SHARING_IE_CALLBACK:"START_SHARING_IE_CALLBACK",SHARING_PARAM_DATA_IE_CALLBACK:"SHARING_PARAM_DATA_IE_CALLBACK",SHARING_MORE_INFO_DATA_IE_CALLBACK:"SHARING_MORE_INFO_DATA_IE_CALLBACK",SHARING_BINARY_CURSOR_DATA_AND_POS_INDICATION_TYPE:"SHARING_BINARY_CURSOR_DATA_AND_POS_INDICATION_TYPE",SHARING_BINARY_CONTENT_DATA_AND_POS_INDICATION_TYPE:"SHARING_BINARY_CONTENT_DATA_AND_POS_INDICATION_TYPE"}},function(e,t,r){var i=r(91),a=r(178),n=r(179),o="[object Null]",s="[object Undefined]",u=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:o:u&&u in Object(e)?a(e):n(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var i=r(8),a=r(108),n=r(59),o=r(57)("IE_PROTO"),s=function(){},u=function(){var e,t=r(51)("iframe"),i=n.length;for(t.style.display="none",r(73).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("