diff --git a/packages/hms-video-store/src/audio-sink-manager/AudioSinkManager.ts b/packages/hms-video-store/src/audio-sink-manager/AudioSinkManager.ts index d4b28f2468..121d7cdd70 100644 --- a/packages/hms-video-store/src/audio-sink-manager/AudioSinkManager.ts +++ b/packages/hms-video-store/src/audio-sink-manager/AudioSinkManager.ts @@ -143,7 +143,7 @@ export class AudioSinkManager { private handleAudioElementError = (audioEl: HTMLAudioElement, track: HMSRemoteAudioTrack) => { audioEl.addEventListener('error', async () => { - HMSLogger.e(this.TAG, 'error on audio element', audioEl?.error?.code); + HMSLogger.e(this.TAG, 'error on audio element for track - ', track.trackId, 'error code', audioEl?.error?.code); const ex = ErrorFactory.TracksErrors.AudioPlaybackError( `Audio playback error for track - ${track.trackId} code - ${audioEl?.error?.code}`, );