| | |
| | | return sendPost("getMediaList",param); |
| | | } |
| | | |
| | | public JSONObject getMediaList(){ |
| | | return sendPost("getMediaList",null); |
| | | } |
| | | |
| | | public JSONObject getMediaInfo(String app, String schema, String stream){ |
| | | Map<String, Object> param = new HashMap<>(); |
| | | param.put("app",app); |
| | |
| | | public JSONObject closeRtpServer(Map<String, Object> param) { |
| | | return sendPost("closeRtpServer",param); |
| | | } |
| | | |
| | | public JSONObject startSendRtp(Map<String, Object> param) { |
| | | return sendPost("startSendRtp",param); |
| | | } |
| | | |
| | | public JSONObject stopSendRtp(Map<String, Object> param) { |
| | | return sendPost("stopSendRtp",param); |
| | | } |
| | | } |