Commit c395cf42d1fbe23c63dccdd87be4444715cf0bfe
1 parent
a1321c29
修复发流接口的调用
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/AckRequestProcessor.java
| ... | ... | @@ -112,7 +112,7 @@ public class AckRequestProcessor extends SIPRequestProcessorParent implements In |
| 112 | 112 | param.put("src_port", sendRtpItem.getLocalPort()); |
| 113 | 113 | param.put("pt", sendRtpItem.getPt()); |
| 114 | 114 | param.put("use_ps", sendRtpItem.isUsePs() ? "1" : "0"); |
| 115 | - param.put("only_audio", sendRtpItem.isOnlyAudio()); | |
| 115 | + param.put("only_audio", sendRtpItem.isOnlyAudio() ? "1" : "0"); | |
| 116 | 116 | JSONObject jsonObject = zlmrtpServerFactory.startSendRtpStream(mediaInfo, param); |
| 117 | 117 | if (jsonObject == null) { |
| 118 | 118 | logger.error("RTP推流失败: 请检查ZLM服务"); | ... | ... |