优化点播结束后关闭RTPServer
This commit is contained in:
@@ -139,6 +139,7 @@ public class ZLMRTPServerFactory {
|
||||
param.put("stream_id", streamId);
|
||||
JSONObject jsonObject = zlmresTfulUtils.closeRtpServer(serverItem, param);
|
||||
if (jsonObject != null ) {
|
||||
System.out.println(jsonObject);
|
||||
if (jsonObject.getInteger("code") == 0) {
|
||||
result = jsonObject.getInteger("hit") == 1;
|
||||
}else {
|
||||
|
||||
Reference in New Issue
Block a user