dingrtc 3.8.8 → 3.8.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/dist/index.d.ts CHANGED
@@ -2098,6 +2098,13 @@ declare class DingRTCClient extends EventEmitter<IClientEvents> {
2098
2098
  */
2099
2099
  get connectionState(): _dingrtc_channel.ConnectionState;
2100
2100
  private init;
2101
+ /**
2102
+ * @override
2103
+ * @param event
2104
+ * @param args
2105
+ * @returns
2106
+ */
2107
+ emit<T extends keyof IClientEvents>(event: T, ...args: any): boolean;
2101
2108
  /**
2102
2109
  * 加入频道,在同一个频道内的用户可以互相通话。
2103
2110
  *
@@ -3118,6 +3125,13 @@ declare class Track extends EventEmitter<ITrackEvent> {
3118
3125
  * 媒体轨道是否正在播放
3119
3126
  */
3120
3127
  get isPlaying(): boolean;
3128
+ /**
3129
+ * @override
3130
+ * @param event
3131
+ * @param args
3132
+ * @returns
3133
+ */
3134
+ emit<T extends keyof ITrackEvent>(event: T, ...args: any): boolean;
3121
3135
  /**
3122
3136
  * 获取流轨道 id
3123
3137
  * @returns 流轨道 id