Browse Source

更新版本到 2.0.0-beta.2

ChangeLog
1. 修复 connection-state-change 与 network-quality 事件数据冲突的问题
2. 修复播放无音频流时显示控制面板的问题
3. 修复 getStats 获取数据异常的问题
4. 修复 setLogLevel 方法失败的问题
poplark 4 years ago
parent
commit
4c76b99fb7

File diff suppressed because it is too large
+ 1 - 1
docs/assets/js/search.js


+ 1 - 0
docs/classes/client.html

@@ -697,6 +697,7 @@
 		<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>

+ 1 - 0
docs/classes/localstream.html

@@ -1242,6 +1242,7 @@
 		<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>

+ 1 - 0
docs/classes/remotestream.html

@@ -890,6 +890,7 @@
 		<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>

File diff suppressed because it is too large
+ 37 - 0
docs/classes/rtcerror.html


+ 1 - 0
docs/classes/stream.html

@@ -769,6 +769,7 @@
 		<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>

+ 1 - 0
docs/classes/user.html

@@ -141,6 +141,7 @@
 		<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>

File diff suppressed because it is too large
+ 60 - 20
docs/index.html


+ 5 - 4
docs/interfaces/audiostats.html

@@ -106,7 +106,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>音频码率</p>
+							<p>音频码率,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -118,7 +118,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>音频编码格式</p>
+							<p>音频编码格式,获取失败时为 &#39;&#39;</p>
 						</div>
 					</div>
 				</section>
@@ -130,7 +130,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>音频丢包率</p>
+							<p>音频丢包率,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -142,7 +142,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>音频音量</p>
+							<p>音频音量,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -189,6 +189,7 @@
 		<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>

+ 1 - 0
docs/interfaces/clientoptions.html

@@ -141,6 +141,7 @@
 		<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>

+ 1 - 0
docs/interfaces/clientplugin.html

@@ -140,6 +140,7 @@
 		<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>

+ 1 - 0
docs/interfaces/codecs.html

@@ -157,6 +157,7 @@
 		<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>

+ 1 - 0
docs/interfaces/connectionstates.html

@@ -157,6 +157,7 @@
 		<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>

+ 1 - 0
docs/interfaces/devicedetectionoptions.html

@@ -189,6 +189,7 @@
 		<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>

+ 1 - 0
docs/interfaces/joinoptions.html

@@ -157,6 +157,7 @@
 		<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>

+ 1 - 0
docs/interfaces/localstreamoptions.html

@@ -323,6 +323,7 @@
 		<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>

+ 1 - 0
docs/interfaces/networkqualities.html

@@ -157,6 +157,7 @@
 		<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>

+ 2 - 1
docs/interfaces/networkstats.html

@@ -103,7 +103,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>网络往返时间</p>
+							<p>网络往返时间,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -141,6 +141,7 @@
 		<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>

+ 1 - 0
docs/interfaces/playoptions.html

@@ -189,6 +189,7 @@
 		<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>

+ 4 - 1
docs/interfaces/rtcevent.html

@@ -72,7 +72,9 @@
 					</div>
 					<p>当 type - T 为 <a href="../index.html#rtcusereventtype">RtcUserEventType</a> 事件时,data - S 为 <a href="../classes/user.html">User</a> 类型
 						当 type - T 为 <a href="../index.html#rtcstreameventtype">RtcStreamEventType</a> 事件时,data - S 为 <a href="../classes/localstream.html">LocalStream</a> | <a href="../classes/remotestream.html">RemoteStream</a> 类型
-					当 type - T 为 <a href="../index.html#rtcconnectioneventtype"></a> 事件时,data - S 为 <a href="connectionstates.html"></a> 类型</p>
+						当 type - T 为 <a href="../index.html#rtcconnectionstateeventtype"></a> 事件时,data - S 为 <a href="connectionstates.html"></a> 类型
+						当 type - T 为 <a href="../index.html#rtcnetworkqualityeventtype"></a> 事件时,data - S 为 <a href="networkqualities.html"></a> 类型
+					当 type - T 为 <a href="../index.html#rtcplayereventtype"></a> 事件时,data - S 为 {@link PlayerEventData } 类型</p>
 				</div>
 			</section>
 			<section class="tsd-panel tsd-type-parameters">
@@ -161,6 +163,7 @@
 		<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>

+ 1 - 0
docs/interfaces/serverconfig.html

@@ -178,6 +178,7 @@
 		<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>

+ 1 - 0
docs/interfaces/snapshotoptions.html

@@ -159,6 +159,7 @@
 		<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>

+ 1 - 0
docs/interfaces/streamplugin.html

@@ -140,6 +140,7 @@
 		<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>

+ 1 - 0
docs/interfaces/streamstats.html

@@ -173,6 +173,7 @@
 		<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>

+ 7 - 6
docs/interfaces/videostats.html

@@ -108,7 +108,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>视频码率</p>
+							<p>视频码率,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -120,7 +120,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>视频编码格式</p>
+							<p>视频编码格式,获取失败时为 &#39;&#39;</p>
 						</div>
 					</div>
 				</section>
@@ -132,7 +132,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>视频帧率</p>
+							<p>视频帧率,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -144,7 +144,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>视频高</p>
+							<p>视频高,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -156,7 +156,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>视频丢包率</p>
+							<p>视频丢包率,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -168,7 +168,7 @@
 					</aside>
 					<div class="tsd-comment tsd-typography">
 						<div class="lead">
-							<p>视频宽</p>
+							<p>视频宽,获取失败时为 -1</p>
 						</div>
 					</div>
 				</section>
@@ -221,6 +221,7 @@
 		<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>

+ 38 - 22
lib/index.d.ts

@@ -899,11 +899,10 @@ declare module '__@urtc/sdk-web/event' {
       stream: Stream;
   }
   /**
-    * Rtc 客户端连接事件类型:
+    * Rtc 客户端连接状态事件类型:
     *
-    * {@link RtcConnectionEvent 连接事件}
+    * {@link RtcConnectionStateEvent 连接状态事件}
     * - connection-state-changed - 连接状态改变
-    * - network-quality - 上/下行网络质量
     * @public
     * @example
     * ```js
@@ -911,24 +910,35 @@ declare module '__@urtc/sdk-web/event' {
     *   console.log(`连接状态:${event.data.previous} => ${event.data.current}`);
     * });
     * ```
+    */
+  export type RtcConnectionStateEventType = 'connection-state-changed';
+  /**
+    * Rtc 网络连接质量类型:
+    *
+    * {@link RtcNetworkQualityEvent 网络连接质量事件}
+    * - network-quality - 上/下行网络质量
+    * @public
+    * @example
     * ```js
     * client.on('network-quality', (event) => {
     *   console.log(`上行 / 下行网络质量:${event.data.uplink} / ${event.data.downlink}`);
     * });
     * ```
     */
-  export type RtcConnectionEventType = 'connection-state-changed' | 'network-quality';
+  export type RtcNetworkQualityEventType = 'network-quality';
   /**
     * Rtc 事件类型
     * @public
     */
-  export type RtcEventType = RtcUserEventType | RtcStreamEventType | RtcConnectionEventType | RtcPlayerEventType;
+  export type RtcEventType = RtcUserEventType | RtcStreamEventType | RtcConnectionStateEventType | RtcNetworkQualityEventType | RtcPlayerEventType;
   /**
     * Rtc 事件
     *
     * 当 type - T 为 {@link RtcUserEventType} 事件时,data - S 为 {@link User} 类型
     * 当 type - T 为 {@link RtcStreamEventType} 事件时,data - S 为 {@link LocalStream} | {@link RemoteStream} 类型
-    * 当 type - T 为 {@link RtcConnectionEventType } 事件时,data - S 为 {@link ConnectionStates } 类型
+    * 当 type - T 为 {@link RtcConnectionStateEventType } 事件时,data - S 为 {@link ConnectionStates } 类型
+    * 当 type - T 为 {@link RtcNetworkQualityEventType } 事件时,data - S 为 {@link NetworkQualities } 类型
+    * 当 type - T 为 {@link RtcPlayerEventType } 事件时,data - S 为 {@link PlayerEventData } 类型
     * @public
     */
   export interface RtcEvent<T, S> {
@@ -946,12 +956,17 @@ declare module '__@urtc/sdk-web/event' {
     */
   export type RtcStreamEvent = RtcEvent<RtcStreamEventType, Stream | LocalStream | RemoteStream>;
   /**
-    * Rtc 连接事件,事件类型参见 {@link RtcConnectionEventType}
+    * Rtc 连接状态事件,事件类型参见 {@link RtcConnectionStateEventType}
+    * @public
+    */
+  export type RtcConnectionStateEvent = RtcEvent<RtcConnectionStateEventType, ConnectionStates>;
+  /**
+    * Rtc 网络连接质量事件,事件类型参见 {@link RtcNetworkQualityEventType}
     * @public
     */
-  export type RtcConnectionEvent = RtcEvent<RtcConnectionEventType, ConnectionStates | NetworkQualities>;
+  export type RtcNetworkQualityEvent = RtcEvent<RtcNetworkQualityEventType, NetworkQualities>;
   /**
-    * Rtc 连接事件,事件类型参见 {@link RtcPlayerEventType}
+    * Rtc 播放器事件,事件类型参见 {@link RtcPlayerEventType}
     * @public
     */
   export type RtcPlayerEvent = RtcEvent<RtcPlayerEventType, PlayerEventData>;
@@ -965,6 +980,7 @@ declare module '__@urtc/sdk-web/error' {
     * @public
     */
   export class RtcError extends Error {
+      constructor(code: ErrorCode, message: string);
       /**
         * 错误码,参见 {@link ErrorCode}
         */
@@ -1473,13 +1489,13 @@ declare module '__@urtc/sdk-web/version' {
 }
 
 declare module '__@urtc/sdk-web/event-emitter' {
-  import { RtcEventType, RtcUserEventType, RtcUserEvent, RtcStreamEvent, RtcConnectionEventType, RtcConnectionEvent, RtcStreamEventType, RtcPlayerEventType, RtcPlayerEvent } from '__@urtc/sdk-web/event';
+  import { RtcEventType, RtcUserEventType, RtcUserEvent, RtcStreamEvent, RtcConnectionStateEventType, RtcConnectionStateEvent, RtcNetworkQualityEventType, RtcNetworkQualityEvent, RtcStreamEventType, RtcPlayerEventType, RtcPlayerEvent } from '__@urtc/sdk-web/event';
   /**
     * 事件监听函数
     * 其中 T 为 RtcEvent 泛型
     * @private
     */
-  export type RtcEventInstance<T> = T extends RtcUserEventType ? RtcUserEvent : T extends RtcStreamEventType ? RtcStreamEvent : T extends RtcConnectionEventType ? RtcConnectionEvent : T extends RtcPlayerEventType ? RtcPlayerEvent : never;
+  export type RtcEventInstance<T> = T extends RtcUserEventType ? RtcUserEvent : T extends RtcStreamEventType ? RtcStreamEvent : T extends RtcConnectionStateEventType ? RtcConnectionStateEvent : T extends RtcNetworkQualityEventType ? RtcNetworkQualityEvent : T extends RtcPlayerEventType ? RtcPlayerEvent : never;
   /**
     * 事件监听函数
     * 其中 RtcEventInstance 为事件实例
@@ -1522,19 +1538,19 @@ declare module '__@urtc/sdk-web/stream/types' {
     */
   export interface AudioStats {
       /**
-        * 音频码率
+        * 音频码率,获取失败时为 -1
         */
       bitrate: number;
       /**
-        * 音频丢包率
+        * 音频丢包率,获取失败时为 -1
         */
       packetLossRate: number;
       /**
-        * 音频音量
+        * 音频音量,获取失败时为 -1
         */
       volume: number;
       /**
-        * 音频编码格式
+        * 音频编码格式,获取失败时为 ''
         */
       codec: AudioCodec;
   }
@@ -1543,27 +1559,27 @@ declare module '__@urtc/sdk-web/stream/types' {
     */
   export interface VideoStats {
       /**
-        * 视频码率
+        * 视频码率,获取失败时为 -1
         */
       bitrate: number;
       /**
-        * 视频丢包率
+        * 视频丢包率,获取失败时为 -1
         */
       packetLossRate: number;
       /**
-        * 视频帧率
+        * 视频帧率,获取失败时为 -1
         */
       framerate: number;
       /**
-        * 视频宽
+        * 视频宽,获取失败时为 -1
         */
       width: number;
       /**
-        * 视频高
+        * 视频高,获取失败时为 -1
         */
       height: number;
       /**
-        * 视频编码格式
+        * 视频编码格式,获取失败时为 ''
         */
       codec: VideoCodec;
   }
@@ -1572,7 +1588,7 @@ declare module '__@urtc/sdk-web/stream/types' {
     */
   export interface NetworkStats {
       /**
-        * 网络往返时间
+        * 网络往返时间,获取失败时为 -1
         */
       rtt: number;
   }

File diff suppressed because it is too large
+ 2 - 2
lib/index.js


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@urtc/sdk-web",
-  "version": "2.0.0-beta.1",
+  "version": "2.0.0-beta.2",
   "description": "UCloud RTC javascript SDK",
   "main": "lib/index.js",
   "types": "lib/index.d.ts",