Xiajijian
2025-11-13 e597d3460451e164d9caa7127b7aa4098db1ad29
ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java
@@ -73,16 +73,17 @@
    @ApiOperation("获取video_id")
    @PostMapping("/videoid/{sn}")
    public String getVideoId(@PathVariable String sn) {
        String videoId = "";
    public ResponseResult<LiveTypeDTO> getVideoId(@PathVariable String sn) {
        LiveTypeDTO liveTypeDTO = new LiveTypeDTO();
        try{
            videoId = _liveStreamHandler.getLiveParam(sn).getVideoId();
            liveTypeDTO = _liveStreamHandler.getLiveParam(sn);
        }
        catch (Exception e){
            videoId = e.getMessage();
            // videoId = e.getMessage();
            e.printStackTrace();
        }
        return videoId;
        return ResponseResult.success(liveTypeDTO);
    }
    /**