mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-20 04:17:50 +08:00
优化直播推流的CivilCode
This commit is contained in:
parent
89db9991a2
commit
66cadafd1c
@ -1021,7 +1021,8 @@ public class VideoManagerStoragerImpl implements IVideoManagerStorager {
|
||||
deviceChannel.setParental(1);
|
||||
deviceChannel.setParentId(catalog.getParentId());
|
||||
deviceChannel.setRegisterWay(1);
|
||||
deviceChannel.setCivilCode(sipConfig.getDomain());
|
||||
// 行政区划应该是Domain的前八位
|
||||
deviceChannel.setCivilCode(sipConfig.getDomain().substring(0, sipConfig.getDomain().length() - 2));
|
||||
deviceChannel.setModel("live");
|
||||
deviceChannel.setOwner("wvp-pro");
|
||||
deviceChannel.setSecrecy("0");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user