uneeq-js 2.42.0 → 2.42.2

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,10 +1,10 @@
1
- import { Subject } from "rxjs";
1
+ import { Subject } from 'rxjs';
2
2
  export declare class DigitalHumanVideoPlayManager {
3
3
  private messages;
4
4
  private video;
5
5
  private remoteVideoPlayCount;
6
6
  constructor(messages: Subject<any>);
7
- play(video: HTMLMediaElement): void;
7
+ play(video: HTMLVideoElement): void;
8
8
  unmuteVideo(): void;
9
9
  private playRemoteVideo;
10
10
  private playRemoteVideoWithExponentialBackoff;
@@ -5,7 +5,7 @@ export declare class MediaHandler {
5
5
  private options;
6
6
  private remoteVideoReady;
7
7
  remoteStream$: BehaviorSubject<any>;
8
- avatarVideoElement: HTMLMediaElement;
8
+ avatarVideoElement: HTMLVideoElement;
9
9
  localStream$: BehaviorSubject<any>;
10
10
  publishState$: BehaviorSubject<PublishSubscribeState>;
11
11
  localVideoElement: HTMLVideoElement;
@@ -46,7 +46,8 @@ export declare enum UneeqMessageType {
46
46
  ClientPerformanceMessage = "ClientPerformanceMessage",
47
47
  DigitalHumanVideoError = "DigitalHumanVideoError",
48
48
  DigitalHumanFailedToPlay = "DigitalHumanFailedToPlay",
49
- DigitalHumanPlayedInMutedModeSuccess = "DigitalHumanPlayedInMutedModeSuccess"
49
+ DigitalHumanPlayedInMutedModeSuccess = "DigitalHumanPlayedInMutedModeSuccess",
50
+ DigitalHumanUnmuted = "DigitalHumanUnmuted"
50
51
  }
51
52
  /**
52
53
  * Service is ready to be used
@@ -389,3 +390,10 @@ export declare class DigitalHumanPlayedInMutedModeSuccess implements UneeqMessag
389
390
  msg: string;
390
391
  constructor();
391
392
  }
393
+ /**
394
+ * DigitalHuman was unmuted
395
+ */
396
+ export declare class DigitalHumanUnmuted implements UneeqMessage {
397
+ uneeqMessageType: UneeqMessageType;
398
+ constructor();
399
+ }