@agora-js/media 4.24.7 → 4.24.8

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
@@ -1515,7 +1515,7 @@ declare function event_first_frame_decoded(): void;
1515
1515
  * @asMemberOf ILocalVideoTrack
1516
1516
  * @event
1517
1517
  */
1518
- declare function event_sei_received(sei: Uint8Array): void;
1518
+ declare function event_sei_received(sei: Uint8Array, rtpTimestamp?: number): void;
1519
1519
 
1520
1520
  /**
1521
1521
  * 当 [BufferSourceAudioTrack]{@link IBufferSourceAudioTrack} 的音频数据源处理状态变化时,会触发此事件。
@@ -3106,7 +3106,7 @@ export declare interface InterceptRemoteAudioFrameOptions {
3106
3106
  export declare function interceptRemoteVideoFrame(receiver: RTCRtpReceiver, options?: InterceptVideoFrameOptions): Promise<void>;
3107
3107
 
3108
3108
  export declare interface InterceptVideoFrameOptions {
3109
- onSei?: (sei: Uint8Array) => void;
3109
+ onSei?: (sei: Uint8Array, rtpTimestamp: number) => void;
3110
3110
  onFirstFrame?: (frameInfo: IFrameInfo) => void;
3111
3111
  }
3112
3112
 
@@ -4783,7 +4783,7 @@ export declare class RemoteVideoTrack extends RemoteTrack implements IRemoteVide
4783
4783
  private bindProcessorDestinationEvents;
4784
4784
  private unbindProcessorDestinationEvents;
4785
4785
  _destroy(): void;
4786
- _onSei(sei: Uint8Array): void;
4786
+ _onSei(sei: Uint8Array, rtpTimestamp: number): void;
4787
4787
  }
4788
4788
 
4789
4789
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agora-js/media",
3
- "version": "4.24.7",
3
+ "version": "4.24.8",
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.24.7",
27
- "@agora-js/report": "4.24.7",
28
- "axios": "^1.16.1",
26
+ "@agora-js/shared": "4.24.8",
27
+ "@agora-js/report": "4.24.8",
28
+ "axios": "^1.19.0",
29
29
  "agora-rte-extension": "^1.2.4",
30
30
  "agora-rte-extension-ng": "^1.0.3",
31
31
  "webrtc-adapter": "8.2.0"
@@ -982,7 +982,7 @@ declare function event_first_frame_decoded(): void;
982
982
  * @asMemberOf ILocalVideoTrack
983
983
  * @event
984
984
  */
985
- declare function event_sei_received(sei: Uint8Array): void;
985
+ declare function event_sei_received(sei: Uint8Array, rtpTimestamp?: number): void;
986
986
 
987
987
  /**
988
988
  * Occurs when the state of processing the audio buffer in [BufferSourceAudioTrack]{@link IBufferSourceAudioTrack} changes.
@@ -1908,7 +1908,7 @@ export declare interface InterceptRemoteAudioFrameOptions {
1908
1908
  export declare function interceptRemoteVideoFrame(receiver: RTCRtpReceiver, options?: InterceptVideoFrameOptions): Promise<void>;
1909
1909
 
1910
1910
  export declare interface InterceptVideoFrameOptions {
1911
- onSei?: (sei: Uint8Array) => void;
1911
+ onSei?: (sei: Uint8Array, rtpTimestamp: number) => void;
1912
1912
  onFirstFrame?: (frameInfo: IFrameInfo) => void;
1913
1913
  }
1914
1914
 
@@ -2997,7 +2997,7 @@ export declare class RemoteVideoTrack extends RemoteTrack implements IRemoteVide
2997
2997
  private bindProcessorDestinationEvents;
2998
2998
  private unbindProcessorDestinationEvents;
2999
2999
  _destroy(): void;
3000
- _onSei(sei: Uint8Array): void;
3000
+ _onSei(sei: Uint8Array, rtpTimestamp: number): void;
3001
3001
  }
3002
3002
 
3003
3003
  /**