@byteplus/vepusher 2.0.4-rc.7 → 2.0.4-rc.9

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.
@@ -535,7 +535,7 @@ declare class LivePusher extends default_2<RTMEvents> {
535
535
  * @return - `true`: The specified streaming mode is supported.
536
536
  * - `false`: The specified streaming mode is not supported.
537
537
  */
538
- static isSupported(mode: PushMode): Promise<boolean>;
538
+ static isSupported(mode: PushMode): Promise<boolean | undefined>;
539
539
  /** {zh}
540
540
  * @brief 创建一个新的 `LivePusher` 实例。
541
541
  * @param options 配置选项,定义推流相关的参数。
@@ -1478,7 +1478,7 @@ declare class Observer implements IVePusherEvents {
1478
1478
  * - `webTransport`: Use WebTransport for streaming.
1479
1479
  * @brief Streaming Mode
1480
1480
  */
1481
- declare type PushMode = 'rtm' | 'webTransport';
1481
+ declare type PushMode = 'rtm' | 'webTransport' | 'mediaEngine';
1482
1482
 
1483
1483
  /** {zh}
1484
1484
  * @detail events