@100mslive/hms-video-store 0.13.3-alpha.8 → 0.13.3

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,5 +1,5 @@
1
1
  import { HMSDiagnosticsInterface } from './diagnostics/interfaces';
2
- import { TranscriptionConfig } from './interfaces/transcription-config';
2
+ import { TranscriptionConfig, TranscriptionConfigUpdate } from './interfaces/transcription-config';
3
3
  import { FindPeerByNameRequestParams } from './signal/interfaces';
4
4
  import { HMSSessionFeedback } from './end-call-feedback';
5
5
  import { HLSConfig, HLSTimedMetadata, HMSAudioPlugin, HMSAudioTrackSettings, HMSConfig, HMSInteractivityCenter as IHMSInteractivityCenter, HMSLogLevel, HMSMediaStreamPlugin, HMSMidCallPreviewConfig, HMSPlaylistSettings, HMSPluginSupportResult, HMSPreferredSimulcastLayer, HMSPreviewConfig, HMSScreenShareConfig, HMSTrack, HMSVideoPlugin, HMSVideoTrackSettings, RTMPRecordingConfig, StopHLSConfig, TokenRequest, TokenRequestOptions } from './internal';
@@ -360,6 +360,13 @@ export interface IHMSActions<T extends HMSGenericTypes = {
360
360
  * @param params.mode This is the mode which represent the type of transcription you want to stop. Currently we have Caption mode only
361
361
  */
362
362
  stopTranscription(params: TranscriptionConfig): Promise<void>;
363
+ /**
364
+ * Update transcription config for a running session.
365
+ * Use this to enable/disable translation or change the transcription language mid-session.
366
+ * @param params.translation - Toggle translation on/off and optionally update roleLanguages
367
+ * @param params.language - Change transcription input language (e.g., "en", "hi", "auto")
368
+ */
369
+ updateTranscriptionConfig(params: TranscriptionConfigUpdate): Promise<void>;
363
370
  /**
364
371
  * Used to define date range metadata in a media playlist.
365
372
  * This api adds EXT-X-DATERANGE tags to the media playlist.