@byteplus/rtc 4.51.4 → 4.51.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.
package/index.d.ts CHANGED
@@ -2783,7 +2783,7 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
2783
2783
  * + Once you create the engine instance, you can start internal audio capture regardless of the audio publishing state. The audio stream will start publishing only after the audio capture starts.
2784
2784
  * @region Audio Management
2785
2785
  */
2786
- startAudioCapture: (deviceId?: string) => Promise<void>;
2786
+ startAudioCapture: (deviceId?: string) => Promise<MediaTrackSettings>;
2787
2787
 
2788
2788
  /**
2789
2789
  * @brief Stop internal audio capture. The default is off.
@@ -4884,6 +4884,8 @@ export interface SubtitleMessage {
4884
4884
  * @brief Incremental sequence numbers assigned to transcribed or translated texts of the speaker's speech. Complete and incomplete sentences are numbered individually.
4885
4885
  */
4886
4886
  sequence: number;
4887
+ language: string;
4888
+ mode: SUBTITLE_MODE;
4887
4889
  }
4888
4890
  export declare enum ConnectionMode {
4889
4891
  AUTO = "auto",