@byteplus/vepusher 2.0.4-rc.10 → 2.0.4-rc.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/dist/index.es.d.ts +2 -2
- package/dist/index.es.js +421 -413
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -1170,7 +1170,7 @@ declare class LivePusher extends default_2<RTMEvents> {
|
|
|
1170
1170
|
* - ** Success**: No return value.
|
|
1171
1171
|
* - ** Failure**: Returns an error message.
|
|
1172
1172
|
*/
|
|
1173
|
-
stopPush(): Promise<void>;
|
|
1173
|
+
stopPush(reason?: string): Promise<void>;
|
|
1174
1174
|
/** {zh}
|
|
1175
1175
|
* @brief 判断当前是否正在推流。
|
|
1176
1176
|
* @return - `true`:正在推流。
|
|
@@ -1222,7 +1222,7 @@ declare class LivePusher extends default_2<RTMEvents> {
|
|
|
1222
1222
|
* - ** Success**: no return value.
|
|
1223
1223
|
* - ** Failure**: returns an error message.
|
|
1224
1224
|
*/
|
|
1225
|
-
destroy(): Promise<void>;
|
|
1225
|
+
destroy(reason?: string): Promise<void>;
|
|
1226
1226
|
/** {zh}
|
|
1227
1227
|
* @default ???
|
|
1228
1228
|
* @brief 推流器的观察者,用于接收推流状态、错误、警告等通知回调。
|