Merge branch 'dev' of http://59.110.226.79:18000/r/uav/ard-uav-server into dev
| | |
| | | apiHost: 192.168.1.3 |
| | | playHost: 192.168.1.3 |
| | | https: true |
| | | pushHost: 111.40.46.199 |
| | | rtmpPort: 1935 |
| | | rtspPort: 8554 |
| | | webrtcPort: 8889 |
| | |
| | | @Override |
| | | public ResponseResult liveStart(LiveTypeDTO liveParam) { |
| | | String rtmpPublishUrl = |
| | | "rtmp://" + mediamtxConfig.getApiHost() + ":" + mediamtxConfig.getRtmpPort() + "/" + liveParam.getVideoId(); |
| | | "rtmp://" + mediamtxConfig.getPushHost() + ":" + mediamtxConfig.getRtmpPort() + "/" + liveParam.getVideoId(); |
| | | liveParam.setUrl(rtmpPublishUrl); |
| | | // Check if this lens is available live. |
| | | ResponseResult responseResult = this.checkBeforeLive(liveParam.getVideoId()); |
| | |
| | | private String apiHost; |
| | | private String playHost; |
| | | private boolean isHttps; |
| | | private String pushHost; |
| | | private Integer rtmpPort; |
| | | private Integer rtspPort; |
| | | private Integer webrtcPort; |