| | |
| | | } |
| | | } |
| | | String receiveKey = VideoManagerConstants.WVP_OTHER_RECEIVE_PS_INFO + userSetting.getServerId() + "_" + callId + "_" + stream; |
| | | int localPort = zlmServerFactory.createRTPServer(mediaServerItem, stream, ssrcInt, null, false, tcpMode); |
| | | int localPort = zlmServerFactory.createRTPServer(mediaServerItem, stream, ssrcInt, null, false, false, tcpMode); |
| | | if (localPort == 0) { |
| | | throw new ControllerException(ErrorCode.ERROR100.getCode(), "获取端口失败"); |
| | | } |
| | |
| | | String is_Udp = isUdp ? "1" : "0"; |
| | | param.put("is_udp", is_Udp); |
| | | param.put("src_port", sendInfo.getSendLocalPort()); |
| | | param.put("use_ps", "0"); |
| | | param.put("only_audio", "1"); |
| | | |
| | | |
| | | Boolean streamReady = zlmServerFactory.isStreamReady(mediaServerItem, app, stream); |