@webex/web-client-media-engine 1.37.4 → 1.37.6

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.
@@ -1,6 +1,6 @@
1
1
  import { ConnectionState, LocalTrack } from '@webex/webrtc-core';
2
2
  export { AudioDeviceConstraints, ConnectionState, LocalCameraTrack, LocalDisplayTrack, LocalMicrophoneTrack, LocalTrack, LocalTrackEvents, TrackEndEvent, TrackMuteEvent, TrackPublishEvent, VideoDeviceConstraints, WcmeError, createCameraTrack, createDisplayTrack, createMicrophoneTrack, getAudioInputDevices, getAudioOutputDevices, getDevices, getVideoInputDevices, setOnDeviceChangeHandler } from '@webex/webrtc-core';
3
- import { StreamId, SourceState, Policy, PolicySpecificInfo, CodecInfo, JmpScrRequest, ActiveSpeakerNotificationMsg, MediaType, Source } from '@webex/json-multistream';
3
+ import { StreamId, SourceState, Policy, PolicySpecificInfo, CodecInfo, JmpScrRequest, ActiveSpeakerNotificationMsg, MediaContent, MediaType, Source } from '@webex/json-multistream';
4
4
  export { SourceState } from '@webex/json-multistream';
5
5
  import TypedEmitter, { EventMap } from 'typed-emitter';
6
6
  import { LogData } from '@webex/rtcstats';
@@ -47,7 +47,8 @@ declare class ReceiveSlot extends EventEmitter<ReceiverEvents> {
47
47
  static Events: typeof ReceiveSlotEvents;
48
48
  private _idGetter;
49
49
  private _stream;
50
- currentRxCsi?: number;
50
+ private _sourceState;
51
+ private _currentRxCsi?;
51
52
  constructor(idGetter: () => ReceiveSlotId | null, track: MediaStreamTrack);
52
53
  private addTrackHandlers;
53
54
  private handleTrackMuted;
@@ -58,6 +59,7 @@ declare class ReceiveSlot extends EventEmitter<ReceiverEvents> {
58
59
  close(): void;
59
60
  get id(): ReceiveSlotId | null;
60
61
  get stream(): MediaStream;
62
+ get currentRxCsi(): number | undefined;
61
63
  }
62
64
 
63
65
  declare class MediaRequest {
@@ -117,8 +119,8 @@ declare enum MultistreamConnectionEventNames {
117
119
  }
118
120
  interface MultistreamConnectionEvents extends EventMap {
119
121
  [MultistreamConnectionEventNames.ActiveSpeakerNotification]: (msg: ActiveSpeakerNotificationMsg) => void;
120
- [MultistreamConnectionEventNames.VideoSourceCountUpdate]: (numTotalSources: number, numLiveSources: number) => void;
121
- [MultistreamConnectionEventNames.AudioSourceCountUpdate]: (numTotalSources: number, numLiveSources: number) => void;
122
+ [MultistreamConnectionEventNames.VideoSourceCountUpdate]: (numTotalSources: number, numLiveSources: number, mediaContent: MediaContent) => void;
123
+ [MultistreamConnectionEventNames.AudioSourceCountUpdate]: (numTotalSources: number, numLiveSources: number, mediaContent: MediaContent) => void;
122
124
  [MultistreamConnectionEventNames.ConnectionStateUpdate]: (state: ConnectionState) => void;
123
125
  }
124
126
  declare type MultistreamConnectionOptions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webex/web-client-media-engine",
3
- "version": "1.37.4",
3
+ "version": "1.37.6",
4
4
  "description": "Web Client Media Engine is common web code for interacting with the multistream media server.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/cjs/index.js",