aliyun-rtc-sdk 6.12.5 → 6.13.0

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.
@@ -2937,6 +2937,7 @@ declare interface PublishInfo {
2937
2937
  signal: string;
2938
2938
  pullstreamurl: string;
2939
2939
  };
2940
+ l1ip?: string;
2940
2941
  callid: string;
2941
2942
  tracks: TrackInfo[];
2942
2943
  traceid?: string;
@@ -3442,7 +3443,10 @@ declare class RtsManager extends default_2<RtsManagerEventListener> {
3442
3443
  subscibeStop(streamUrl: string): Promise<void>;
3443
3444
  subscribeAddDataChannel(streamUrl: string): Promise<any>;
3444
3445
  subscribeStopDatachannel(streamUrl: string, datachannel: any): Promise<any>;
3445
- publish(streamUrl: string, callId: string, isResume?: boolean, reason?: PublishReason): Promise<string>;
3446
+ publish(streamUrl: string, callId: string, isResume?: boolean, reason?: PublishReason): Promise<{
3447
+ traceId: string;
3448
+ l1ip?: string;
3449
+ }>;
3446
3450
  subscribe(remoteSubscribeOptions: RemoteSubscribeOptions, reason: SubscribeReason, callId: string, remoteCallId: string, startTs: number): Promise<any>;
3447
3451
  getSubscribeVideoStats(streamUrl: string, msid?: string): Promise<unknown>;
3448
3452
  getSubscribeAudioStats(streamUrl: string, msid?: string): Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aliyun-rtc-sdk",
3
- "version": "6.12.5",
3
+ "version": "6.13.0",
4
4
  "type": "module",
5
5
  "description": "rtc web sdk of aliyun",
6
6
  "main": "dist/aliyun-rtc-sdk.js",