@seastart/srtc-web-sdk 0.0.7 → 0.0.9
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.
- package/package.json +1 -1
- package/srtc.d.mts +2 -1
- package/srtc.d.ts +2 -1
- package/srtc.js +1 -1
- package/srtc.mjs +1 -1
package/package.json
CHANGED
package/srtc.d.mts
CHANGED
|
@@ -103,7 +103,7 @@ declare class CommonChannelEventType {
|
|
|
103
103
|
static readonly ME_UPDATE = "me_update";
|
|
104
104
|
/** 开始断线自动重连,无data */
|
|
105
105
|
static readonly RECONNECTING = "reconnecting";
|
|
106
|
-
/**
|
|
106
|
+
/** 重连成功,断线重连成功后会触发 */
|
|
107
107
|
static readonly RECONNECTED = "reconnected";
|
|
108
108
|
/** 自己被强制离开频道,对应data为DisconnectEventData */
|
|
109
109
|
static readonly DISCONNECTED = "disconnected";
|
|
@@ -824,6 +824,7 @@ export interface VideoPublishOptions {
|
|
|
824
824
|
priority?: RTCPriorityType;
|
|
825
825
|
/** 自定义属性 */
|
|
826
826
|
props?: Record<string, any>;
|
|
827
|
+
simulcasts?: VideoPublishOptions[];
|
|
827
828
|
}
|
|
828
829
|
/**
|
|
829
830
|
* 频道信息
|
package/srtc.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ declare class CommonChannelEventType {
|
|
|
103
103
|
static readonly ME_UPDATE = "me_update";
|
|
104
104
|
/** 开始断线自动重连,无data */
|
|
105
105
|
static readonly RECONNECTING = "reconnecting";
|
|
106
|
-
/**
|
|
106
|
+
/** 重连成功,断线重连成功后会触发 */
|
|
107
107
|
static readonly RECONNECTED = "reconnected";
|
|
108
108
|
/** 自己被强制离开频道,对应data为DisconnectEventData */
|
|
109
109
|
static readonly DISCONNECTED = "disconnected";
|
|
@@ -824,6 +824,7 @@ export interface VideoPublishOptions {
|
|
|
824
824
|
priority?: RTCPriorityType;
|
|
825
825
|
/** 自定义属性 */
|
|
826
826
|
props?: Record<string, any>;
|
|
827
|
+
simulcasts?: VideoPublishOptions[];
|
|
827
828
|
}
|
|
828
829
|
/**
|
|
829
830
|
* 频道信息
|