@volcengine/vepusher 2.0.4-rc.10 → 2.0.4-rc.11
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/dist/index.es.d.ts +6 -2
- package/dist/index.es.js +4753 -7032
- package/dist/index.umd.js +28 -38
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -438,6 +438,10 @@ declare interface IVideoStreamLayoutParams {
|
|
|
438
438
|
* @brief 镜像类型,默认为不镜像。
|
|
439
439
|
*/
|
|
440
440
|
mirrorType?: MirrorType;
|
|
441
|
+
/** {zh}
|
|
442
|
+
* @brief 旋转角度,单位为度
|
|
443
|
+
*/
|
|
444
|
+
rotate?: number;
|
|
441
445
|
}
|
|
442
446
|
|
|
443
447
|
/** {zh}
|
|
@@ -535,7 +539,7 @@ declare class LivePusher extends default_2<RTMEvents> {
|
|
|
535
539
|
* @return - `true`: The specified streaming mode is supported.
|
|
536
540
|
* - `false`: The specified streaming mode is not supported.
|
|
537
541
|
*/
|
|
538
|
-
static isSupported(mode: PushMode): Promise<boolean
|
|
542
|
+
static isSupported(mode: PushMode): Promise<boolean>;
|
|
539
543
|
/** {zh}
|
|
540
544
|
* @brief 创建一个新的 `LivePusher` 实例。
|
|
541
545
|
* @param options 配置选项,定义推流相关的参数。
|
|
@@ -1478,7 +1482,7 @@ declare class Observer implements IVePusherEvents {
|
|
|
1478
1482
|
* - `webTransport`: Use WebTransport for streaming.
|
|
1479
1483
|
* @brief Streaming Mode
|
|
1480
1484
|
*/
|
|
1481
|
-
declare type PushMode = 'rtm' | 'webTransport'
|
|
1485
|
+
declare type PushMode = 'rtm' | 'webTransport';
|
|
1482
1486
|
|
|
1483
1487
|
/** {zh}
|
|
1484
1488
|
* @detail events
|