| | |
| | | return liveStreamService.liveStart(liveParam); |
| | | } |
| | | |
| | | @PostMapping("/streams/address") |
| | | public ResponseResult liveAddress(@RequestParam String deviceSn,@RequestParam String deviceId) { |
| | | return liveStreamService.liveAddress(deviceSn,deviceId); |
| | | } |
| | | |
| | | /** |
| | | * Stop live streaming according to the parameters passed in from the web side. |
| | | * 根据从web端传入的参数停止直播。 |
| | |
| | | } |
| | | |
| | | /** |
| | | * Set the quality of the live streaming according to the parameters passed in from the web side. |
| | | * @param liveParam Live streaming parameters. |
| | | * 根据从web端传入的参数设置直播的质量。 |
| | | * @param liveParam 直播参数 |
| | | * @return |
| | | */ |
| | | @PostMapping("/streams/update") |