|
@@ -243,9 +243,11 @@ public class ZLMHttpHookListener {
|
|
|
String deviceId = ssrcTransactionForAll.get(0).getDeviceId();
|
|
|
String channelId = ssrcTransactionForAll.get(0).getChannelId();
|
|
|
DeviceChannel deviceChannel = storager.queryChannel(deviceId, channelId);
|
|
|
- if (deviceChannel != null) {
|
|
|
- result.setEnable_audio(deviceChannel.isHasAudio());
|
|
|
- }
|
|
|
+// if (deviceChannel != null) {
|
|
|
+// result.setEnable_audio(deviceChannel.isHasAudio());
|
|
|
+// }
|
|
|
+ //
|
|
|
+ result.setEnable_audio(true);
|
|
|
// 如果是录像下载就设置视频间隔十秒
|
|
|
if (ssrcTransactionForAll.get(0).getType() == VideoStreamSessionManager.SessionType.download) {
|
|
|
result.setMp4_max_second(10);
|