修复发流参数错误
This commit is contained in:
@@ -221,8 +221,6 @@ public class PsController {
|
|||||||
String is_Udp = isUdp ? "1" : "0";
|
String is_Udp = isUdp ? "1" : "0";
|
||||||
param.put("is_udp", is_Udp);
|
param.put("is_udp", is_Udp);
|
||||||
param.put("src_port", sendInfo.getSendLocalPort());
|
param.put("src_port", sendInfo.getSendLocalPort());
|
||||||
param.put("use_ps", "0");
|
|
||||||
param.put("only_audio", "1");
|
|
||||||
|
|
||||||
|
|
||||||
Boolean streamReady = zlmServerFactory.isStreamReady(mediaServerItem, app, stream);
|
Boolean streamReady = zlmServerFactory.isStreamReady(mediaServerItem, app, stream);
|
||||||
|
|||||||
@@ -246,7 +246,6 @@ public class RtpController {
|
|||||||
String is_Udp = isUdp ? "1" : "0";
|
String is_Udp = isUdp ? "1" : "0";
|
||||||
paramForAudio.put("is_udp", is_Udp);
|
paramForAudio.put("is_udp", is_Udp);
|
||||||
paramForAudio.put("src_port", sendInfo.getSendLocalPortForAudio());
|
paramForAudio.put("src_port", sendInfo.getSendLocalPortForAudio());
|
||||||
paramForAudio.put("use_ps", "0");
|
|
||||||
paramForAudio.put("only_audio", "1");
|
paramForAudio.put("only_audio", "1");
|
||||||
if (ptForAudio != null) {
|
if (ptForAudio != null) {
|
||||||
paramForAudio.put("pt", ptForAudio);
|
paramForAudio.put("pt", ptForAudio);
|
||||||
@@ -267,7 +266,6 @@ public class RtpController {
|
|||||||
String is_Udp = isUdp ? "1" : "0";
|
String is_Udp = isUdp ? "1" : "0";
|
||||||
paramForVideo.put("is_udp", is_Udp);
|
paramForVideo.put("is_udp", is_Udp);
|
||||||
paramForVideo.put("src_port", sendInfo.getSendLocalPortForVideo());
|
paramForVideo.put("src_port", sendInfo.getSendLocalPortForVideo());
|
||||||
paramForVideo.put("use_ps", "0");
|
|
||||||
paramForVideo.put("only_audio", "0");
|
paramForVideo.put("only_audio", "0");
|
||||||
if (ptForVideo != null) {
|
if (ptForVideo != null) {
|
||||||
paramForVideo.put("pt", ptForVideo);
|
paramForVideo.put("pt", ptForVideo);
|
||||||
|
|||||||
Reference in New Issue
Block a user