Commit b63a89a0a83dfddab0d714bb9aad90114ab9d514
1 parent
d67f0a1e
修复发流参数错误
Showing
2 changed files
with
0 additions
and
4 deletions
src/main/java/com/genersoft/iot/vmp/vmanager/ps/PsController.java
| ... | ... | @@ -221,8 +221,6 @@ public class PsController { |
| 221 | 221 | String is_Udp = isUdp ? "1" : "0"; |
| 222 | 222 | param.put("is_udp", is_Udp); |
| 223 | 223 | param.put("src_port", sendInfo.getSendLocalPort()); |
| 224 | - param.put("use_ps", "0"); | |
| 225 | - param.put("only_audio", "1"); | |
| 226 | 224 | |
| 227 | 225 | |
| 228 | 226 | Boolean streamReady = zlmServerFactory.isStreamReady(mediaServerItem, app, stream); | ... | ... |
src/main/java/com/genersoft/iot/vmp/vmanager/rtp/RtpController.java
| ... | ... | @@ -246,7 +246,6 @@ public class RtpController { |
| 246 | 246 | String is_Udp = isUdp ? "1" : "0"; |
| 247 | 247 | paramForAudio.put("is_udp", is_Udp); |
| 248 | 248 | paramForAudio.put("src_port", sendInfo.getSendLocalPortForAudio()); |
| 249 | - paramForAudio.put("use_ps", "0"); | |
| 250 | 249 | paramForAudio.put("only_audio", "1"); |
| 251 | 250 | if (ptForAudio != null) { |
| 252 | 251 | paramForAudio.put("pt", ptForAudio); |
| ... | ... | @@ -267,7 +266,6 @@ public class RtpController { |
| 267 | 266 | String is_Udp = isUdp ? "1" : "0"; |
| 268 | 267 | paramForVideo.put("is_udp", is_Udp); |
| 269 | 268 | paramForVideo.put("src_port", sendInfo.getSendLocalPortForVideo()); |
| 270 | - paramForVideo.put("use_ps", "0"); | |
| 271 | 269 | paramForVideo.put("only_audio", "0"); |
| 272 | 270 | if (ptForVideo != null) { |
| 273 | 271 | paramForVideo.put("pt", ptForVideo); | ... | ... |