@byteplus/rtc 4.56.0 → 4.56.1-meeting.12

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
@@ -783,6 +783,11 @@ export interface IJoinRoomConfig {
783
783
  joinWithTcpOnly: boolean;
784
784
  joinWithTcpOnlyDelay: number;
785
785
  }
786
+ export interface ExtraJoinRoomParams {
787
+ serviceType?: string;
788
+ tenantId?: string;
789
+ [key: string]: any;
790
+ }
786
791
  export declare type RTCExtension = any;
787
792
  declare enum StreamMixingEventType {
788
793
 
@@ -3803,6 +3808,16 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
3803
3808
  */
3804
3809
  setRemoteStreamRenderSync: (sync: boolean) => boolean;
3805
3810
 
3811
+ /**
3812
+ * @hidden
3813
+ */
3814
+ setJoinRoomParams: (params: ExtraJoinRoomParams) => void;
3815
+
3816
+ /**
3817
+ * @hidden
3818
+ */
3819
+ connect: () => Promise<void>;
3820
+
3806
3821
  /**
3807
3822
  * @brief Adjust audio capture volume.
3808
3823
  * @param streamIndex The index of the target stream whose recording volume is to be adjusted.
@@ -3897,6 +3912,8 @@ export interface IRTCEngine extends EnhancedEventEmitter<IEngineEvents> {
3897
3912
  * @order 44
3898
3913
  */
3899
3914
  resumeForwardStreamToAllRooms: () => Promise<ForwardStreamStateInfo[]>;
3915
+ peerConnection: RTCPeerConnection | undefined;
3916
+ iceState: RTCIceConnectionState | undefined;
3900
3917
  }
3901
3918
 
3902
3919
  /**
@@ -5814,6 +5831,7 @@ declare class VERTC implements IVERTC {
5814
5831
  logLevel?: "none" | "error" | "info" | "warning" | "trace" | undefined;
5815
5832
  LogfileSize?: number | undefined;
5816
5833
  }) => void;
5834
+ VideoPlayer: any;
5817
5835
  }
5818
5836
  declare const _default: VERTC;
5819
5837