mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 19:58:10 +08:00
Updated MediaServer支持的HTTP API (markdown)
@@ -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创建多个) |
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user