Skip to content

Commit

Permalink
Update publish-alpha (#3043)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 authored Jun 25, 2024
2 parents fe81328 + 6bcc709 commit 0428b09
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 41 deletions.
12 changes: 6 additions & 6 deletions packages/hms-video-store/src/sdk/LocalTrackManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ export class LocalTrackManager {

constructor(
private store: Store,
private observer: Pick<ITransportObserver, 'onFailure'>,
private observer: ITransportObserver,
private deviceManager: DeviceManager,
private eventBus: EventBus,
private analyticsTimer?: AnalyticsTimer,
private analyticsTimer: AnalyticsTimer,
) {
this.setScreenCaptureHandleConfig();
}
Expand Down Expand Up @@ -81,10 +81,10 @@ export class LocalTrackManager {
};

if (fetchTrackOptions.audio) {
this.analyticsTimer?.start(TimedEvent.LOCAL_AUDIO_TRACK);
this.analyticsTimer.start(TimedEvent.LOCAL_AUDIO_TRACK);
}
if (fetchTrackOptions.video) {
this.analyticsTimer?.start(TimedEvent.LOCAL_VIDEO_TRACK);
this.analyticsTimer.start(TimedEvent.LOCAL_VIDEO_TRACK);
}
try {
HMSLogger.d(this.TAG, 'Init Local Tracks', { fetchTrackOptions });
Expand All @@ -98,10 +98,10 @@ export class LocalTrackManager {
);
}
if (fetchTrackOptions.audio) {
this.analyticsTimer?.end(TimedEvent.LOCAL_AUDIO_TRACK);
this.analyticsTimer.end(TimedEvent.LOCAL_AUDIO_TRACK);
}
if (fetchTrackOptions.video) {
this.analyticsTimer?.end(TimedEvent.LOCAL_VIDEO_TRACK);
this.analyticsTimer.end(TimedEvent.LOCAL_VIDEO_TRACK);
}

if (videoTrack && canPublishVideo && !isVideoTrackPublished) {
Expand Down
4 changes: 2 additions & 2 deletions packages/hms-video-store/src/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ export class HMSSdk implements HMSInterface {
this.pluginUsageTracker,
);
// add diagnostics callbacks if present
if ((listener as unknown as HMSDiagnosticsConnectivityListener).onInitSuccess) {
this.transport.setConnectivityListener(listener as unknown as HMSDiagnosticsConnectivityListener);
if ('onInitSuccess' in listener) {
this.transport.setConnectivityListener(listener);
}
this.sessionStore = new SessionStore(this.transport);
this.interactivityCenter = new InteractivityCenter(this.transport, this.store, this.listener);
Expand Down
2 changes: 1 addition & 1 deletion packages/hms-virtual-background/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 7 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8900,10 +8900,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==

effects-sdk@3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/effects-sdk/-/effects-sdk-3.1.5.tgz#1cbfdb6ecf6381bc1dfd5b49b6552783a89f495a"
integrity sha512-X95BOoc8GGkvlxxSO+PhS3RTH17JNAiF3cTLRLx2MsQp5zMO9zsi67xjo3q8OTyNKuSGHzK+QOg8E+voMN213g==
effects-sdk@3.2.3:
version "3.2.3"
resolved "https://registry.yarnpkg.com/effects-sdk/-/effects-sdk-3.2.3.tgz#9887b98c32abdbf13d4a41dc42396ba101e1db44"
integrity sha512-mjkcHaSqW6hZdDILOVG+Ju/hJDGcF9ZVsQ4wrTk7np2EPBOh6hoNogr6R4uiYaIZdkR9pgxUPxvBgTbCUkOhUQ==

ejs@^3.1.7, ejs@^3.1.8:
version "3.1.9"
Expand Down Expand Up @@ -16293,16 +16293,7 @@ string-natural-compare@^3.0.1:
resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4"
integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==

"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
Expand Down Expand Up @@ -16402,14 +16393,7 @@ string_decoder@~1.1.1:
dependencies:
safe-buffer "~5.1.0"

"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
dependencies:
ansi-regex "^5.0.1"

strip-ansi@^6.0.0, strip-ansi@^6.0.1:
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
Expand Down Expand Up @@ -17721,7 +17705,7 @@ worker-timers@^7.0.40:
worker-timers-broker "^6.0.95"
worker-timers-worker "^7.0.59"

"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
Expand All @@ -17739,15 +17723,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0:
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
dependencies:
ansi-styles "^4.0.0"
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
Expand Down

0 comments on commit 0428b09

Please sign in to comment.