| | |
| | | import java.io.IOException; |
| | | import java.net.ConnectException; |
| | | import java.util.HashMap; |
| | | import java.util.HashSet; |
| | | import java.util.Map; |
| | | |
| | | @Component |
| | |
| | | public JSONObject openRtpServer(Map<String, Object> param){ |
| | | return sendPost("openRtpServer",param); |
| | | } |
| | | |
| | | 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); |
| | | } |
| | | } |