Updated MediaServer支持的HTTP API (markdown)

xiongguangjie
2022-11-10 16:31:19 +08:00
parent 3fef3f698f
commit e4878067ce

@@ -971,7 +971,7 @@ typedef enum {
- 功能创建GB28181 RTP接收端口如果该端口接收数据超时则会自动被回收(不用调用closeRtpServer接口)
- 范例:[http://127.0.0.1/index/api/openRtpServer?port=0&enable_tcp=1&stream_id=test](http://127.0.0.1/index/api/openRtpServer?port=0&enable_tcp=1&stream_id=test)
- 范例:[http://127.0.0.1/index/api/openRtpServer?port=0&tcp_mode=1&stream_id=test](http://127.0.0.1/index/api/openRtpServer?port=0&tcp_mode=1&stream_id=test)
- 参数:
@@ -979,7 +979,7 @@ typedef enum {
| :--------: | :------: | :----------------------------------------------------------: |
| secret | Y | api操作密钥(配置文件配置)如果操作ip是127.0.0.1,则不需要此参数 |
| port | Y | 接收端口0则为随机端口 |
| enable_tcp | Y | 启用UDP监听的同时是否监听TCP端口 |
| tcp_mode | Y | 0 udp 模式1 tcp 被动模式, 2 tcp 主动模式。 (兼容enable_tcp 为0/1) |
| stream_id | Y | 该端口绑定的流ID该端口只能创建这一个流(而不是根据ssrc创建多个) |