+
ZLM 流媒体服务器管理
+
+
+
1. 获取流快照 (getSnap)
+
+
通过网关调用: GET /zlm/index/api/getSnap
+
实际转发到: http://114.67.89.4:8778/index/api/getSnap
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 错误: {{ snapError }}
+
+
+
+
快照预览:
+
![Stream Snapshot]()
+
+
+
+
+
2. 开始录制 (startRecord)
+
+
通过网关调用: GET /zlm/index/api/startRecord
+
实际转发到: http://114.67.89.4:8778/index/api/startRecord
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 错误: {{ recordError }}
+
+
+
+
响应结果:
+
{{ recordResult }}
+
+
+
+
+
3. 检查录制状态 (isRecording)
+
+
通过网关调用: GET /zlm/index/api/isRecording
+
实际转发到: http://114.67.89.4:8778/index/api/isRecording
+
+
+
+
+
+
+
+
+
+
+
+ 错误: {{ checkError }}
+
+
+
+
响应结果:
+
{{ checkResult }}
+
+
+
+
+
4. 获取MP4录制文件列表 (getMp4RecordFile)
+
+
通过网关调用: GET /zlm/index/api/getMp4RecordFile
+
实际转发到: http://114.67.89.4:8778/index/api/getMp4RecordFile
+
+
+
+
+
+
+
+
+
+
+
+ 错误: {{ mp4Error }}
+
+
+
+
响应结果:
+
{{ mp4Result }}
+
+
+
+
+
5. 停止录制 (stopRecord)
+
+
通过网关调用: GET /zlm/index/api/stopRecord
+
实际转发到: http://114.67.89.4:8778/index/api/stopRecord
+
+
+
+
+
+
+
+
+
+
+
+ 错误: {{ stopError }}
+
+
+
+
响应结果:
+
{{ stopResult }}
+
+
+
+
+
6. 下载录制文件 (downloadFile)
+
+
通过网关调用: GET /zlm/index/api/downloadFile
+
实际转发到: http://114.67.89.4:8778/index/api/downloadFile
+
+
+
+
+
+
+
+
+
+
+
+
+ 错误: {{ downloadError }}
+
+
+
+ {{ downloadSuccess }}
+
+
+
+
+
7. 删除录制目录 (deleteRecordDirectory)
+
+
通过网关调用: GET /zlm/index/api/deleteRecordDirectory
+
实际转发到: http://114.67.89.4:8778/index/api/deleteRecordDirectory
+
+
+
+
+
+
+
+
+
+
+
+ 错误: {{ deleteError }}
+
+
+
+
响应结果:
+
{{ deleteResult }}
+
+
+
+