@seastart/srtc-web-sdk 0.0.8 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seastart/srtc-web-sdk",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "srtc sdk for web",
5
5
  "main": "srtc.js",
6
6
  "module": "srtc.mjs",
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
- /** 重连成功,断线重连成功后会触发,对应data为ChannelInfo */
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
- /** 重连成功,断线重连成功后会触发,对应data为ChannelInfo */
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
  * 频道信息