From 31c2f52e48de139c5f6b5dd751f6e9576c4d17cc Mon Sep 17 00:00:00 2001 From: shanyuanzz <46706605+shanyuanzz@users.noreply.github.com> Date: 星期日, 28 五月 2023 13:39:16 +0800 Subject: [PATCH] Update SIPCommander.java --- src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java index f6f42b3..a4fa8dd 100644 --- a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java +++ b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java @@ -1,6 +1,5 @@ package com.genersoft.iot.vmp.vmanager.gb28181.play; -import com.alibaba.fastjson2.JSON; import com.alibaba.fastjson2.JSONArray; import com.alibaba.fastjson2.JSONObject; import com.genersoft.iot.vmp.common.InviteInfo; @@ -116,7 +115,7 @@ // 褰曞儚鏌ヨ浠hannelId浣滀负deviceId鏌ヨ resultHolder.put(key, uuid, result); - playService.play(newMediaServerItem, deviceId, channelId, ((code, msg, data) -> { + playService.play(newMediaServerItem, deviceId, channelId, (code, msg, data) -> { WVPResult<StreamContent> wvpResult = new WVPResult<>(); if (code == InviteErrorCode.SUCCESS.getCode()) { wvpResult.setCode(ErrorCode.SUCCESS.getCode()); @@ -133,10 +132,9 @@ wvpResult.setCode(code); wvpResult.setMsg(msg); } - System.out.println(JSON.toJSONString(wvpResult)); requestMessage.setData(wvpResult); resultHolder.invokeResult(requestMessage); - })); + }); return result; } -- Gitblit v1.8.0