@realsee/live 0.5.2-dev.7 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,21 @@
1
1
  <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>WebSocketCloseError | 如视 Live SDK</title><meta name="description" content="Documentation for 如视 Live SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视 Live SDK</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视 Live SDK</a></li><li><a href="WebSocketCloseError.html">WebSocketCloseError</a></li></ul><h1>Enumeration WebSocketCloseError </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
2
2
  <p>WebSocket 异常关闭枚举:<a href="https://developer.mozilla.org/zh-CN/docs/Web/API/CloseEvent%E3%80%82">https://developer.mozilla.org/zh-CN/docs/Web/API/CloseEvent。</a></p>
3
- </div></div></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration Members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1001" class="tsd-kind-icon">Err_<wbr/>1001</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1002" class="tsd-kind-icon">Err_<wbr/>1002</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1003" class="tsd-kind-icon">Err_<wbr/>1003</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1006" class="tsd-kind-icon">Err_<wbr/>1006</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1007" class="tsd-kind-icon">Err_<wbr/>1007</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1008" class="tsd-kind-icon">Err_<wbr/>1008</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1009" class="tsd-kind-icon">Err_<wbr/>1009</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_unknown" class="tsd-kind-icon">Err_<wbr/>unknown</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration Members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1001" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1001<a href="#Err_1001" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1001<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_GOING_AWAY&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:55</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
3
+ </div></div></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration Members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1000" class="tsd-kind-icon">Err_<wbr/>1000</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1001" class="tsd-kind-icon">Err_<wbr/>1001</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1002" class="tsd-kind-icon">Err_<wbr/>1002</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1003" class="tsd-kind-icon">Err_<wbr/>1003</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1006" class="tsd-kind-icon">Err_<wbr/>1006</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1007" class="tsd-kind-icon">Err_<wbr/>1007</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1008" class="tsd-kind-icon">Err_<wbr/>1008</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1009" class="tsd-kind-icon">Err_<wbr/>1009</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_unknown" class="tsd-kind-icon">Err_<wbr/>unknown</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration Members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1000" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1000<a href="#Err_1000" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1000<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_NORMAL&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:55</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
4
+ <p>正常关闭; 无论为何目的而创建,该链接都已成功完成任务。</p>
5
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1001" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1001<a href="#Err_1001" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1001<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_GOING_AWAY&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:59</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
4
6
  <p>终端离开, 可能因为服务端错误, 也可能因为浏览器正从打开连接的页面跳转离开。</p>
5
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1002" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1002<a href="#Err_1002" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1002<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_PROTOCOL_ERROR&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:60</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
7
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1002" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1002<a href="#Err_1002" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1002<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_PROTOCOL_ERROR&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:64</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
6
8
  <p>由于协议错误而中断连接。</p>
7
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1003" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1003<a href="#Err_1003" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1003<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_UNSUPPORTED&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:65</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
9
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1003" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1003<a href="#Err_1003" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1003<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_UNSUPPORTED&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:69</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
8
10
  <p>由于接收到不允许的数据类型而断开连接 (如仅接收文本数据的终端接收到了二进制数据)。</p>
9
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1006" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1006<a href="#Err_1006" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1006<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_ABNORMAL&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:70</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
11
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1006" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1006<a href="#Err_1006" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1006<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_ABNORMAL&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:74</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
10
12
  <p>安全因素或WebSocket连接次数达到上限。</p>
11
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1007" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1007<a href="#Err_1007" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1007<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Unsupported Data&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:75</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
13
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1007" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1007<a href="#Err_1007" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1007<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Unsupported Data&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:79</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
12
14
  <p>由于收到了格式不符的数据而断开连接 (如文本消息中包含了非 UTF-8 数据)。</p>
13
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1008" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1008<a href="#Err_1008" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1008<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Policy Violation&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:79</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
15
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1008" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1008<a href="#Err_1008" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1008<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Policy Violation&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:83</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
14
16
  <p>由于收到不符合约定的数据而断开连接。</p>
15
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1009" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1009<a href="#Err_1009" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1009<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_TOO_LARGE&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:83</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
17
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_1009" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>1009<a href="#Err_1009" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>1009<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLOSE_TOO_LARGE&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:87</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
16
18
  <p>由于收到过大的数据帧而断开连接。</p>
17
- </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_unknown" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>unknown<a href="#Err_unknown" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>unknown<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;unknown&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:87</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
19
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Err_unknown" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Err_<wbr/>unknown<a href="#Err_unknown" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Err_<wbr/>unknown<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;unknown&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:91</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
18
20
  <p>未知错误。</p>
19
- </div></div></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum"><a href="WebSocketCloseError.html" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>Close<wbr/>Error</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1001" class="tsd-kind-icon">Err_<wbr/>1001</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1002" class="tsd-kind-icon">Err_<wbr/>1002</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1003" class="tsd-kind-icon">Err_<wbr/>1003</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1006" class="tsd-kind-icon">Err_<wbr/>1006</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1007" class="tsd-kind-icon">Err_<wbr/>1007</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1008" class="tsd-kind-icon">Err_<wbr/>1008</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1009" class="tsd-kind-icon">Err_<wbr/>1009</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_unknown" class="tsd-kind-icon">Err_<wbr/>unknown</a></li></ul></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
21
+ </div></div></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum"><a href="WebSocketCloseError.html" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>Close<wbr/>Error</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1000" class="tsd-kind-icon">Err_<wbr/>1000</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1001" class="tsd-kind-icon">Err_<wbr/>1001</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1002" class="tsd-kind-icon">Err_<wbr/>1002</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1003" class="tsd-kind-icon">Err_<wbr/>1003</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1006" class="tsd-kind-icon">Err_<wbr/>1006</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1007" class="tsd-kind-icon">Err_<wbr/>1007</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1008" class="tsd-kind-icon">Err_<wbr/>1008</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_1009" class="tsd-kind-icon">Err_<wbr/>1009</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="WebSocketCloseError.html#Err_unknown" class="tsd-kind-icon">Err_<wbr/>unknown</a></li></ul></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
package/docs/modules.html CHANGED
@@ -130,4 +130,4 @@
130
130
  </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>jsonTxt: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
131
131
  <p>JSON序列化后的文本。</p>
132
132
  </div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="modules.html#LiveMsg" class="tsd-signature-type" data-tsd-kind="Type alias">LiveMsg</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h4><div><p>false 标识解析失败;解析成功返回 <a href="modules.html#LiveMsg">LiveMsg</a> 实例。</p>
133
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a id="parseWSClsErr" class="tsd-anchor"></a><h3 class="tsd-anchor-link">parseWSCls<wbr/>Err<a href="#parseWSClsErr" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">parseWSCls<wbr/>Err<span class="tsd-signature-symbol">(</span>code<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">WebSocketCloseError</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:92</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>code: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">WebSocketCloseError</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class="current"><a href="modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="tsd-kind-enum"><a href="enums/BuiltInRTCType.html" class="tsd-kind-icon">Built<wbr/>InRTCType</a></li><li class="tsd-kind-enum"><a href="enums/BuiltinActionType.html" class="tsd-kind-icon">Builtin<wbr/>Action<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/BuiltinEventType.html" class="tsd-kind-icon">Builtin<wbr/>Event<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/Command.html" class="tsd-kind-icon">Command</a></li><li class="tsd-kind-enum"><a href="enums/LiveState.html" class="tsd-kind-icon">Live<wbr/>State</a></li><li class="tsd-kind-enum"><a href="enums/MemUserStatus.html" class="tsd-kind-icon">Mem<wbr/>User<wbr/>Status</a></li><li class="tsd-kind-enum"><a href="enums/MicroStatus.html" class="tsd-kind-icon">Micro<wbr/>Status</a></li><li class="tsd-kind-enum"><a href="enums/RTCJoinedInfoCodeEnum.html" class="tsd-kind-icon">RTCJoined<wbr/>Info<wbr/>Code<wbr/>Enum</a></li><li class="tsd-kind-enum"><a href="enums/RTCType.html" class="tsd-kind-icon">RTCType</a></li><li class="tsd-kind-enum"><a href="enums/UserStatus.html" class="tsd-kind-icon">User<wbr/>Status</a></li><li class="tsd-kind-enum"><a href="enums/WebSocketCloseError.html" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>Close<wbr/>Error</a></li><li class="tsd-kind-enum"><a href="enums/WebSocketErrorType.html" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>Error<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/WebSocketState.html" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>State</a></li><li class="tsd-kind-class"><a href="classes/BrowserRTC.html" class="tsd-kind-icon">BrowserRTC</a></li><li class="tsd-kind-class"><a href="classes/BrowserRTC4Chime.html" class="tsd-kind-icon">BrowserRTC4<wbr/>Chime</a></li><li class="tsd-kind-class"><a href="classes/CoreRTC.html" class="tsd-kind-icon">CoreRTC</a></li><li class="tsd-kind-class"><a href="classes/VRWebViewRTC.html" class="tsd-kind-icon">VRWeb<wbr/>ViewRTC</a></li><li class="tsd-kind-interface"><a href="interfaces/AttendeeResponse.html" class="tsd-kind-icon">Attendee<wbr/>Response</a></li><li class="tsd-kind-interface"><a href="interfaces/GetVoiceSignReturnType.html" class="tsd-kind-icon">Get<wbr/>Voice<wbr/>Sign<wbr/>Return<wbr/>Type</a></li><li class="tsd-kind-interface"><a href="interfaces/LiveOptions.html" class="tsd-kind-icon">Live<wbr/>Options</a></li><li class="tsd-kind-interface"><a href="interfaces/MeetingResponse.html" class="tsd-kind-icon">Meeting<wbr/>Response</a></li><li class="tsd-kind-interface"><a href="interfaces/MeetingSessionConfigurationOptions.html" class="tsd-kind-icon">Meeting<wbr/>Session<wbr/>Configuration<wbr/>Options</a></li><li class="tsd-kind-interface"><a href="interfaces/RTCJoinedInfo.html" class="tsd-kind-icon">RTCJoined<wbr/>Info</a></li><li class="tsd-kind-interface"><a href="interfaces/RTCProtocol.html" class="tsd-kind-icon">RTCProtocol</a></li><li class="tsd-kind-interface"><a href="interfaces/VRWebViewRTCOptions.html" class="tsd-kind-icon">VRWeb<wbr/>ViewRTCOptions</a></li><li class="tsd-kind-type-alias"><a href="modules.html#BuiltinMsg" class="tsd-kind-icon">Builtin<wbr/>Msg</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#EventType" class="tsd-kind-icon">Event<wbr/>Type</a></li><li class="tsd-kind-type-alias"><a href="modules.html#GetVoiceSign" class="tsd-kind-icon">Get<wbr/>Voice<wbr/>Sign</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#KeyframeTypes" class="tsd-kind-icon">Keyframe<wbr/>Types</a></li><li class="tsd-kind-type-alias"><a href="modules.html#LiveConnectOptions" class="tsd-kind-icon">Live<wbr/>Connect<wbr/>Options</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#LiveEventType" class="tsd-kind-icon">Live<wbr/>Event<wbr/>Type</a></li><li class="tsd-kind-type-alias"><a href="modules.html#LiveMsg" class="tsd-kind-icon">Live<wbr/>Msg</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#LiveProviderPropTypes" class="tsd-kind-icon">Live<wbr/>Provider<wbr/>Prop<wbr/>Types</a></li><li class="tsd-kind-type-alias"><a href="modules.html#RTCActionReactCallback" class="tsd-kind-icon">RTCAction<wbr/>React<wbr/>Callback</a></li><li class="tsd-kind-type-alias"><a href="modules.html#RTCEventType" class="tsd-kind-icon">RTCEvent<wbr/>Type</a></li><li class="tsd-kind-type-alias"><a href="modules.html#ReqLiveMsg" class="tsd-kind-icon">Req<wbr/>Live<wbr/>Msg</a></li><li class="tsd-kind-type-alias"><a href="modules.html#RoomInfo" class="tsd-kind-icon">Room<wbr/>Info</a></li><li class="tsd-kind-type-alias"><a href="modules.html#UserInfo" class="tsd-kind-icon">User<wbr/>Info</a></li><li class="tsd-kind-type-alias"><a href="modules.html#UserInfoExt" class="tsd-kind-icon">User<wbr/>Info<wbr/>Ext</a></li><li class="tsd-kind-type-alias"><a href="modules.html#UserVolume" class="tsd-kind-icon">User<wbr/>Volume</a></li><li class="tsd-kind-type-alias"><a href="modules.html#WebSocketError" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>Error</a></li><li class="tsd-kind-function tsd-has-type-parameter"><a href="modules.html#createLive" class="tsd-kind-icon">create<wbr/>Live</a></li><li class="tsd-kind-function tsd-has-type-parameter"><a href="modules.html#createLiveReact" class="tsd-kind-icon">create<wbr/>Live<wbr/>React</a></li><li class="tsd-kind-function"><a href="modules.html#parseLiveMsg" class="tsd-kind-icon">parse<wbr/>Live<wbr/>Msg</a></li><li class="tsd-kind-function"><a href="modules.html#parseWSClsErr" class="tsd-kind-icon">parseWSCls<wbr/>Err</a></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="assets/main.js"></script></body></html>
133
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a id="parseWSClsErr" class="tsd-anchor"></a><h3 class="tsd-anchor-link">parseWSCls<wbr/>Err<a href="#parseWSClsErr" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">parseWSCls<wbr/>Err<span class="tsd-signature-symbol">(</span>code<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">WebSocketCloseError</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in typings/live/WebSocket.ts:94</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>code: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">WebSocketCloseError</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class="current"><a href="modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="tsd-kind-enum"><a href="enums/BuiltInRTCType.html" class="tsd-kind-icon">Built<wbr/>InRTCType</a></li><li class="tsd-kind-enum"><a href="enums/BuiltinActionType.html" class="tsd-kind-icon">Builtin<wbr/>Action<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/BuiltinEventType.html" class="tsd-kind-icon">Builtin<wbr/>Event<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/Command.html" class="tsd-kind-icon">Command</a></li><li class="tsd-kind-enum"><a href="enums/LiveState.html" class="tsd-kind-icon">Live<wbr/>State</a></li><li class="tsd-kind-enum"><a href="enums/MemUserStatus.html" class="tsd-kind-icon">Mem<wbr/>User<wbr/>Status</a></li><li class="tsd-kind-enum"><a href="enums/MicroStatus.html" class="tsd-kind-icon">Micro<wbr/>Status</a></li><li class="tsd-kind-enum"><a href="enums/RTCJoinedInfoCodeEnum.html" class="tsd-kind-icon">RTCJoined<wbr/>Info<wbr/>Code<wbr/>Enum</a></li><li class="tsd-kind-enum"><a href="enums/RTCType.html" class="tsd-kind-icon">RTCType</a></li><li class="tsd-kind-enum"><a href="enums/UserStatus.html" class="tsd-kind-icon">User<wbr/>Status</a></li><li class="tsd-kind-enum"><a href="enums/WebSocketCloseError.html" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>Close<wbr/>Error</a></li><li class="tsd-kind-enum"><a href="enums/WebSocketErrorType.html" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>Error<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/WebSocketState.html" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>State</a></li><li class="tsd-kind-class"><a href="classes/BrowserRTC.html" class="tsd-kind-icon">BrowserRTC</a></li><li class="tsd-kind-class"><a href="classes/BrowserRTC4Chime.html" class="tsd-kind-icon">BrowserRTC4<wbr/>Chime</a></li><li class="tsd-kind-class"><a href="classes/CoreRTC.html" class="tsd-kind-icon">CoreRTC</a></li><li class="tsd-kind-class"><a href="classes/VRWebViewRTC.html" class="tsd-kind-icon">VRWeb<wbr/>ViewRTC</a></li><li class="tsd-kind-interface"><a href="interfaces/AttendeeResponse.html" class="tsd-kind-icon">Attendee<wbr/>Response</a></li><li class="tsd-kind-interface"><a href="interfaces/GetVoiceSignReturnType.html" class="tsd-kind-icon">Get<wbr/>Voice<wbr/>Sign<wbr/>Return<wbr/>Type</a></li><li class="tsd-kind-interface"><a href="interfaces/LiveOptions.html" class="tsd-kind-icon">Live<wbr/>Options</a></li><li class="tsd-kind-interface"><a href="interfaces/MeetingResponse.html" class="tsd-kind-icon">Meeting<wbr/>Response</a></li><li class="tsd-kind-interface"><a href="interfaces/MeetingSessionConfigurationOptions.html" class="tsd-kind-icon">Meeting<wbr/>Session<wbr/>Configuration<wbr/>Options</a></li><li class="tsd-kind-interface"><a href="interfaces/RTCJoinedInfo.html" class="tsd-kind-icon">RTCJoined<wbr/>Info</a></li><li class="tsd-kind-interface"><a href="interfaces/RTCProtocol.html" class="tsd-kind-icon">RTCProtocol</a></li><li class="tsd-kind-interface"><a href="interfaces/VRWebViewRTCOptions.html" class="tsd-kind-icon">VRWeb<wbr/>ViewRTCOptions</a></li><li class="tsd-kind-type-alias"><a href="modules.html#BuiltinMsg" class="tsd-kind-icon">Builtin<wbr/>Msg</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#EventType" class="tsd-kind-icon">Event<wbr/>Type</a></li><li class="tsd-kind-type-alias"><a href="modules.html#GetVoiceSign" class="tsd-kind-icon">Get<wbr/>Voice<wbr/>Sign</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#KeyframeTypes" class="tsd-kind-icon">Keyframe<wbr/>Types</a></li><li class="tsd-kind-type-alias"><a href="modules.html#LiveConnectOptions" class="tsd-kind-icon">Live<wbr/>Connect<wbr/>Options</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#LiveEventType" class="tsd-kind-icon">Live<wbr/>Event<wbr/>Type</a></li><li class="tsd-kind-type-alias"><a href="modules.html#LiveMsg" class="tsd-kind-icon">Live<wbr/>Msg</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#LiveProviderPropTypes" class="tsd-kind-icon">Live<wbr/>Provider<wbr/>Prop<wbr/>Types</a></li><li class="tsd-kind-type-alias"><a href="modules.html#RTCActionReactCallback" class="tsd-kind-icon">RTCAction<wbr/>React<wbr/>Callback</a></li><li class="tsd-kind-type-alias"><a href="modules.html#RTCEventType" class="tsd-kind-icon">RTCEvent<wbr/>Type</a></li><li class="tsd-kind-type-alias"><a href="modules.html#ReqLiveMsg" class="tsd-kind-icon">Req<wbr/>Live<wbr/>Msg</a></li><li class="tsd-kind-type-alias"><a href="modules.html#RoomInfo" class="tsd-kind-icon">Room<wbr/>Info</a></li><li class="tsd-kind-type-alias"><a href="modules.html#UserInfo" class="tsd-kind-icon">User<wbr/>Info</a></li><li class="tsd-kind-type-alias"><a href="modules.html#UserInfoExt" class="tsd-kind-icon">User<wbr/>Info<wbr/>Ext</a></li><li class="tsd-kind-type-alias"><a href="modules.html#UserVolume" class="tsd-kind-icon">User<wbr/>Volume</a></li><li class="tsd-kind-type-alias"><a href="modules.html#WebSocketError" class="tsd-kind-icon">Web<wbr/>Socket<wbr/>Error</a></li><li class="tsd-kind-function tsd-has-type-parameter"><a href="modules.html#createLive" class="tsd-kind-icon">create<wbr/>Live</a></li><li class="tsd-kind-function tsd-has-type-parameter"><a href="modules.html#createLiveReact" class="tsd-kind-icon">create<wbr/>Live<wbr/>React</a></li><li class="tsd-kind-function"><a href="modules.html#parseLiveMsg" class="tsd-kind-icon">parse<wbr/>Live<wbr/>Msg</a></li><li class="tsd-kind-function"><a href="modules.html#parseWSClsErr" class="tsd-kind-icon">parseWSCls<wbr/>Err</a></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="assets/main.js"></script></body></html>
package/package.json CHANGED
@@ -1,17 +1,7 @@
1
1
  {
2
2
  "name": "@realsee/live",
3
- "version": "0.5.2-dev.7",
3
+ "version": "0.5.3",
4
4
  "description": "如视 Live SDK:基于如视 WebSocket 长链双工通信能力的前端封装,借助此 SDK 您可以快捷地实现具备同屏连线、实时语音的 VR 带看业务能力。",
5
- "scripts": {
6
- "build": "npx rollpkg build --addUmdBuild",
7
- "dev": "npx rollpkg watch",
8
- "prepublishOnly": "npm run build && npm run docs",
9
- "lint": "npx eslint src",
10
- "test": "npx jest",
11
- "test:watch": "npx jest --watchAll",
12
- "coverage": "npx live-server coverage/lcov-report",
13
- "docs": "npx typedoc"
14
- },
15
5
  "main": "dist/realsee-live.cjs.js",
16
6
  "module": "dist/realsee-live.esm.js",
17
7
  "types": "dist/index.d.ts",
@@ -23,7 +13,7 @@
23
13
  "TERMS.txt"
24
14
  ],
25
15
  "devDependencies": {
26
- "@realsee/jsbridge-x": "0.2.5-dev.2",
16
+ "@realsee/jsbridge-x": "0.2.6",
27
17
  "@types/react": "^17.0.2",
28
18
  "@types/trtc-js-sdk": "^4.9.0",
29
19
  "rollpkg": "^0.5.7",
@@ -37,5 +27,14 @@
37
27
  "trtc-js-sdk": "4.15.2"
38
28
  },
39
29
  "author": "BEIKE REALSEE TECHNOLOGY (HK) LIMITED",
40
- "license": "SEE LICENSE IN TERMS.txt"
41
- }
30
+ "license": "SEE LICENSE IN TERMS.txt",
31
+ "scripts": {
32
+ "build": "npx rollpkg build --addUmdBuild",
33
+ "dev": "npx rollpkg watch",
34
+ "lint": "npx eslint src",
35
+ "test": "npx jest",
36
+ "test:watch": "npx jest --watchAll",
37
+ "coverage": "npx live-server coverage/lcov-report",
38
+ "docs": "npx typedoc"
39
+ }
40
+ }