@agora-js/media 4.22.0 → 4.22.1-1

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/media.d.ts CHANGED
@@ -4279,7 +4279,16 @@ export declare enum RemoteStreamFallbackType {
4279
4279
  /** @en
4280
4280
  * 2: Subscribe to the low-quality video stream when the network conditions worsen, and subscribe to audio only when the conditions become too poor to support video transmission.
4281
4281
  */
4282
- AUDIO_ONLY = 2
4282
+ AUDIO_ONLY = 2,
4283
+ /**
4284
+ * ABR 拓展, 暂时不对外,以实际客户为主
4285
+ */
4286
+ HIGH_STREAM_LAYER1 = 3,
4287
+ HIGH_STREAM_LAYER2 = 4,
4288
+ HIGH_STREAM_LAYER3 = 5,
4289
+ HIGH_STREAM_LAYER4 = 6,
4290
+ HIGH_STREAM_LAYER5 = 7,
4291
+ HIGH_STREAM_LAYER6 = 8
4283
4292
  }
4284
4293
 
4285
4294
  /**
@@ -4299,7 +4308,17 @@ export declare enum RemoteStreamType {
4299
4308
  /** @en
4300
4309
  * 1: Low-quality video stream (low-bitrate, low-resolution).
4301
4310
  */
4302
- LOW_STREAM = 1
4311
+ LOW_STREAM = 1,
4312
+ /**
4313
+ * ABR 拓展
4314
+ * 暂时不对外,以实际客户为主
4315
+ */
4316
+ HIGH_STREAM_LAYER1 = 4,
4317
+ HIGH_STREAM_LAYER2 = 5,
4318
+ HIGH_STREAM_LAYER3 = 6,
4319
+ HIGH_STREAM_LAYER4 = 7,
4320
+ HIGH_STREAM_LAYER5 = 8,
4321
+ HIGH_STREAM_LAYER6 = 9
4303
4322
  }
4304
4323
 
4305
4324
  export declare abstract class RemoteTrack extends Track implements IRemoteTrack {
@@ -5039,7 +5058,9 @@ export declare enum TrackHint {
5039
5058
  /** 该轨道是克隆自定义视频轨道生成的。 */
5040
5059
  CUSTOM_TRACK = "custome_track",
5041
5060
  /** 该轨道是克隆小流视频轨道生成的。 */
5042
- LOW_STREAM = "low_stream"
5061
+ LOW_STREAM = "low_stream",
5062
+ /** 标记这个 Track 是否来自于屏幕共享小流 */
5063
+ SCREEN_LOW_TRACK = "screen_low_track"
5043
5064
  }
5044
5065
 
5045
5066
  export declare enum TrackInternalEvent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agora-js/media",
3
- "version": "4.22.0",
3
+ "version": "4.22.1-1",
4
4
  "description": "media module across @agora-js packages",
5
5
  "main": "AgoraRTC_N-media.js",
6
6
  "module": "AgoraRTC_N-media.esm.mjs",
@@ -23,9 +23,9 @@
23
23
  "homepage": "https://api-ref.agora.io/en/voice-sdk/web/4.x/index.html",
24
24
  "peerDependencies": {},
25
25
  "dependencies": {
26
- "@agora-js/shared": "4.22.0",
27
- "@agora-js/report": "4.22.0",
28
- "axios": "^1.6.8",
26
+ "@agora-js/shared": "4.22.1-1",
27
+ "@agora-js/report": "4.22.1-1",
28
+ "axios": "^1.7.7",
29
29
  "agora-rte-extension": "^1.2.4",
30
30
  "webrtc-adapter": "8.2.0"
31
31
  }
@@ -2659,7 +2659,13 @@ export declare enum RemoteStreamFallbackType {
2659
2659
  /**
2660
2660
  * 2: Subscribe to the low-quality video stream when the network conditions worsen, and subscribe to audio only when the conditions become too poor to support video transmission.
2661
2661
  */
2662
- AUDIO_ONLY = 2
2662
+ AUDIO_ONLY = 2,
2663
+ HIGH_STREAM_LAYER1 = 3,
2664
+ HIGH_STREAM_LAYER2 = 4,
2665
+ HIGH_STREAM_LAYER3 = 5,
2666
+ HIGH_STREAM_LAYER4 = 6,
2667
+ HIGH_STREAM_LAYER5 = 7,
2668
+ HIGH_STREAM_LAYER6 = 8
2663
2669
  }
2664
2670
 
2665
2671
  /**
@@ -2673,7 +2679,13 @@ export declare enum RemoteStreamType {
2673
2679
  /**
2674
2680
  * 1: Low-quality video stream (low-bitrate, low-resolution).
2675
2681
  */
2676
- LOW_STREAM = 1
2682
+ LOW_STREAM = 1,
2683
+ HIGH_STREAM_LAYER1 = 4,
2684
+ HIGH_STREAM_LAYER2 = 5,
2685
+ HIGH_STREAM_LAYER3 = 6,
2686
+ HIGH_STREAM_LAYER4 = 7,
2687
+ HIGH_STREAM_LAYER5 = 8,
2688
+ HIGH_STREAM_LAYER6 = 9
2677
2689
  }
2678
2690
 
2679
2691
  export declare abstract class RemoteTrack extends Track implements IRemoteTrack {
@@ -3124,7 +3136,8 @@ export declare enum TrackEvents {
3124
3136
  export declare enum TrackHint {
3125
3137
  SCREEN_TRACK = "screen_track",
3126
3138
  CUSTOM_TRACK = "custome_track",
3127
- LOW_STREAM = "low_stream"
3139
+ LOW_STREAM = "low_stream",
3140
+ SCREEN_LOW_TRACK = "screen_low_track"
3128
3141
  }
3129
3142
 
3130
3143
  export declare enum TrackInternalEvent {