|
|
@@ -468,7 +468,42 @@ export interface StreamChannelUpdateRequest {
|
|
|
// ==================== LiveStream 推流管理相关类型 ====================
|
|
|
|
|
|
// LiveStream 状态
|
|
|
-export type LiveStreamStatus = 'IDLE' | 'STREAMING' | 'STOPPED' | 'ERROR'
|
|
|
+// IDLE("idle", "空闲"),
|
|
|
+
|
|
|
+// /**
|
|
|
+// * 启动中 - FFmpeg进程正在启动
|
|
|
+// */
|
|
|
+// STARTING("starting", "启动中"),
|
|
|
+
|
|
|
+// /**
|
|
|
+// * 推流中 - 正常推流
|
|
|
+// */
|
|
|
+// STREAMING("streaming", "推流中"),
|
|
|
+
|
|
|
+// /**
|
|
|
+// * 停止中 - 正在停止推流
|
|
|
+// */
|
|
|
+// STOPPING("stopping", "停止中"),
|
|
|
+
|
|
|
+// /**
|
|
|
+// * 已停止 - 推流已停止
|
|
|
+// */
|
|
|
+// STOPPED("stopped", "已停止"),
|
|
|
+
|
|
|
+// /**
|
|
|
+// * 错误 - 推流发生错误
|
|
|
+// */
|
|
|
+// ERROR("error", "错误"),
|
|
|
+
|
|
|
+// /**
|
|
|
+// * 重连中 - 正在重新连接
|
|
|
+// */
|
|
|
+// RECONNECTING("reconnecting", "重连中");
|
|
|
+export type LiveStreamStatus = 'idle' | 'starting' | 'streaming' | 'stopping' | 'stopped' | 'error' | 'reconnecting'
|
|
|
+// 'IDLE' | 'STREAMING' | 'STOPPED' | 'ERROR'
|
|
|
+/**
|
|
|
+ * 空闲 - 未开始推流
|
|
|
+ */
|
|
|
|
|
|
// LiveStream 信息 (LiveStreamInfoDTO)
|
|
|
export interface LiveStreamDTO {
|