| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-11-15 15:10:41 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-01-06 17:15:39 |
| | | * @LastEditTime: 2023-01-11 11:29:09 |
| | | * @FilePath: \srs-police-affairs\src\api\video\index.js |
| | | * @Description: |
| | | * |
| | |
| | | |
| | | /** |
| | | * 获取视频播放网址 |
| | | * @param {*} equipmentNumber 设备编号 |
| | | * @param {*} channelId 通道编号 |
| | | * @returns |
| | | */ |
| | | export const getDevices = (equipmentNumber, channelId) => { |
| | | export const getDevices = (channelId) => { |
| | | return request({ |
| | | url: `/play/start/${equipmentNumber}/${channelId}`, |
| | | // 内网使用地址,外网把36110000002009999000更换掉 |
| | | url: `/play/start/36110000002009999000/${channelId}`, |
| | | method: 'get', |
| | | requestBaseUrl: 'outside' |
| | | }) |