e54fb69d 张雷

视频流问题接口修改

1 个父辈 3ca72322
......@@ -162,7 +162,7 @@ public class TVideoServiceImpl extends ServiceImpl<TVideoMapper, TVideo> impleme
jsonBody.put("streamType", 1);
jsonBody.put("protocol", "rtsp");
jsonBody.put("transmode", 1);
jsonBody.put("expand", "streamform=rtp&transcode=1");
jsonBody.put("expand", "streamform=rtp&transcode=1&videotype=h264&audiotype=AAC");
String body = jsonBody.toJSONString();
String result = getHikApiResult(ip, port, appkey, secretkey, apiPath, body);
JSONObject dataJson = JSONObject.parseObject(result);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!