# 添加直播频道
### 接口:/streams/op/add.php
### 参数:
| 参数名称 | 参数说明 |
| --- | --- |
| name | 频道名称,字母数字组合,不能有空格 |
| cont | 直播频道流地址, 如: #hls \n rtmp://192.168.1.1:1935/live/live1 |
| sid | sessionid,用于验证API接口是否正确 |
>[info]
>cont的内容目前支持两种格式的输入
>1. >添加直播 #hls \n rtmp://192.168.1.135:1935/live/live1
>2. >添加录制 #timeshift \n http://192.168.1.1935/live1/playlist.m3u8