修复发流接口的调用
This commit is contained in:
parent
a5f6a0953e
commit
b3fe55709b
@ -112,7 +112,7 @@ public class AckRequestProcessor extends SIPRequestProcessorParent implements In
|
|||||||
param.put("src_port", sendRtpItem.getLocalPort());
|
param.put("src_port", sendRtpItem.getLocalPort());
|
||||||
param.put("pt", sendRtpItem.getPt());
|
param.put("pt", sendRtpItem.getPt());
|
||||||
param.put("use_ps", sendRtpItem.isUsePs() ? "1" : "0");
|
param.put("use_ps", sendRtpItem.isUsePs() ? "1" : "0");
|
||||||
param.put("only_audio", sendRtpItem.isOnlyAudio());
|
param.put("only_audio", sendRtpItem.isOnlyAudio() ? "1" : "0");
|
||||||
JSONObject jsonObject = zlmrtpServerFactory.startSendRtpStream(mediaInfo, param);
|
JSONObject jsonObject = zlmrtpServerFactory.startSendRtpStream(mediaInfo, param);
|
||||||
if (jsonObject == null) {
|
if (jsonObject == null) {
|
||||||
logger.error("RTP推流失败: 请检查ZLM服务");
|
logger.error("RTP推流失败: 请检查ZLM服务");
|
||||||
|
Loading…
Reference in New Issue
Block a user