| | |
| | | private OkHttpClient getClient(){ |
| | | return getClient(null); |
| | | } |
| | | |
| | | |
| | | private OkHttpClient getClient(Integer readTimeOut){ |
| | | if (client == null) { |
| | | if (readTimeOut == null) { |
| | |
| | | if (mediaServerItem == null) { |
| | | return null; |
| | | } |
| | | logger.info("[访问assist]: {}, 参数: {}", url, param); |
| | | JSONObject responseJSON = new JSONObject(); |
| | | //-2自定义流媒体 调用错误码 |
| | | responseJSON.put("code",-2); |
| | |
| | | |
| | | public JSONObject addTask(MediaServerItem mediaServerItem, String app, String stream, String startTime, |
| | | String endTime, String callId, List<String> filePathList, String remoteHost) { |
| | | |
| | | |
| | | JSONObject videoTaskInfoJSON = new JSONObject(); |
| | | videoTaskInfoJSON.put("app", app); |
| | | videoTaskInfoJSON.put("stream", stream); |