暂时移除通道列表子节点数量展示,目前无法正确统计
parent
af27ae0dfc
commit
e5faad8b8d
|
@ -29,8 +29,10 @@ public class InviteInfo {
|
||||||
|
|
||||||
private StreamInfo streamInfo;
|
private StreamInfo streamInfo;
|
||||||
|
|
||||||
|
private String mediaServerId;
|
||||||
|
|
||||||
public static InviteInfo getInviteInfo(String deviceId, Integer channelId, String stream, SSRCInfo ssrcInfo,
|
|
||||||
|
public static InviteInfo getInviteInfo(String deviceId, Integer channelId, String stream, SSRCInfo ssrcInfo, String mediaServerId,
|
||||||
String receiveIp, Integer receivePort, String streamMode,
|
String receiveIp, Integer receivePort, String streamMode,
|
||||||
InviteSessionType type, InviteSessionStatus status) {
|
InviteSessionType type, InviteSessionStatus status) {
|
||||||
InviteInfo inviteInfo = new InviteInfo();
|
InviteInfo inviteInfo = new InviteInfo();
|
||||||
|
@ -43,6 +45,7 @@ public class InviteInfo {
|
||||||
inviteInfo.setStreamMode(streamMode);
|
inviteInfo.setStreamMode(streamMode);
|
||||||
inviteInfo.setType(type);
|
inviteInfo.setType(type);
|
||||||
inviteInfo.setStatus(status);
|
inviteInfo.setStatus(status);
|
||||||
|
inviteInfo.setMediaServerId(mediaServerId);
|
||||||
return inviteInfo;
|
return inviteInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -428,7 +428,7 @@ public class PlayServiceImpl implements IPlayService {
|
||||||
device.getStreamMode(), ssrcInfo.getSsrc(), device.isSsrcCheck());
|
device.getStreamMode(), ssrcInfo.getSsrc(), device.isSsrcCheck());
|
||||||
|
|
||||||
// 初始化redis中的invite消息状态
|
// 初始化redis中的invite消息状态
|
||||||
InviteInfo inviteInfo = InviteInfo.getInviteInfo(device.getDeviceId(), channel.getId(), ssrcInfo.getStream(), ssrcInfo,
|
InviteInfo inviteInfo = InviteInfo.getInviteInfo(device.getDeviceId(), channel.getId(), ssrcInfo.getStream(), ssrcInfo, mediaServerItem.getId(),
|
||||||
mediaServerItem.getSdpIp(), ssrcInfo.getPort(), device.getStreamMode(), InviteSessionType.PLAY,
|
mediaServerItem.getSdpIp(), ssrcInfo.getPort(), device.getStreamMode(), InviteSessionType.PLAY,
|
||||||
InviteSessionStatus.ready);
|
InviteSessionStatus.ready);
|
||||||
inviteStreamService.updateInviteInfo(inviteInfo);
|
inviteStreamService.updateInviteInfo(inviteInfo);
|
||||||
|
@ -802,7 +802,7 @@ public class PlayServiceImpl implements IPlayService {
|
||||||
device.getDeviceId(), channel.getGbDeviceId(), startTime, endTime, ssrcInfo.getPort(), device.getStreamMode(),
|
device.getDeviceId(), channel.getGbDeviceId(), startTime, endTime, ssrcInfo.getPort(), device.getStreamMode(),
|
||||||
ssrcInfo.getSsrc(), device.isSsrcCheck());
|
ssrcInfo.getSsrc(), device.isSsrcCheck());
|
||||||
// 初始化redis中的invite消息状态
|
// 初始化redis中的invite消息状态
|
||||||
InviteInfo inviteInfo = InviteInfo.getInviteInfo(device.getDeviceId(), channel.getId(), ssrcInfo.getStream(), ssrcInfo,
|
InviteInfo inviteInfo = InviteInfo.getInviteInfo(device.getDeviceId(), channel.getId(), ssrcInfo.getStream(), ssrcInfo, mediaServerItem.getId(),
|
||||||
mediaServerItem.getSdpIp(), ssrcInfo.getPort(), device.getStreamMode(), InviteSessionType.PLAYBACK,
|
mediaServerItem.getSdpIp(), ssrcInfo.getPort(), device.getStreamMode(), InviteSessionType.PLAYBACK,
|
||||||
InviteSessionStatus.ready);
|
InviteSessionStatus.ready);
|
||||||
inviteStreamService.updateInviteInfo(inviteInfo);
|
inviteStreamService.updateInviteInfo(inviteInfo);
|
||||||
|
@ -1008,7 +1008,7 @@ public class PlayServiceImpl implements IPlayService {
|
||||||
device.isSsrcCheck());
|
device.isSsrcCheck());
|
||||||
|
|
||||||
// 初始化redis中的invite消息状态
|
// 初始化redis中的invite消息状态
|
||||||
InviteInfo inviteInfo = InviteInfo.getInviteInfo(device.getDeviceId(), channel.getId(), ssrcInfo.getStream(), ssrcInfo,
|
InviteInfo inviteInfo = InviteInfo.getInviteInfo(device.getDeviceId(), channel.getId(), ssrcInfo.getStream(), ssrcInfo, mediaServerItem.getId(),
|
||||||
mediaServerItem.getSdpIp(), ssrcInfo.getPort(), device.getStreamMode(), InviteSessionType.DOWNLOAD,
|
mediaServerItem.getSdpIp(), ssrcInfo.getPort(), device.getStreamMode(), InviteSessionType.DOWNLOAD,
|
||||||
InviteSessionStatus.ready);
|
InviteSessionStatus.ready);
|
||||||
|
|
||||||
|
|
|
@ -68,8 +68,8 @@
|
||||||
</el-image>
|
</el-image>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="subCount" label="子节点数" min-width="100">
|
<!-- <el-table-column prop="subCount" label="子节点数" min-width="100">-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column prop="manufacturer" label="厂家" min-width="100">
|
<el-table-column prop="manufacturer" label="厂家" min-width="100">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="位置信息" min-width="120">
|
<el-table-column label="位置信息" min-width="120">
|
||||||
|
|
Loading…
Reference in New Issue