Merge pull request #1432 from AlphaWu/Zafu-Dev-20240428

修改on_stream_none_reader返回值
pull/1450/head
648540858 2024-04-28 22:25:58 +08:00 committed by GitHub
commit 1fc2916c2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,8 @@ public class ZLMHttpHookListener {
JSONObject ret = new JSONObject();
boolean close = mediaService.closeStreamOnNoneReader(param.getMediaServerId(), param.getApp(), param.getStream(), param.getSchema());
ret.put("code", close);
ret.put("code", 0);
ret.put("close", close);
return ret;
}