From 4b827f3897600e97023ded3df83a2f2551131d53 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 13 十二月 2022 11:57:07 +0800 Subject: [PATCH] 级联语音对讲部分 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/AudioBroadcastCatch.java | 83 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 82 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/AudioBroadcastCatch.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/AudioBroadcastCatch.java index 88db807..d9e89fa 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/AudioBroadcastCatch.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/AudioBroadcastCatch.java @@ -1,6 +1,8 @@ package com.genersoft.iot.vmp.gb28181.bean; +import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; +import com.genersoft.iot.vmp.vmanager.gb28181.play.bean.AudioBroadcastEvent; import gov.nist.javax.sip.message.SIPResponse; /** @@ -10,10 +12,24 @@ public class AudioBroadcastCatch { - public AudioBroadcastCatch(String deviceId, String channelId, AudioBroadcastCatchStatus status) { + public AudioBroadcastCatch( + String deviceId, + String channelId, + MediaServerItem mediaServerItem, + String app, + String stream, + AudioBroadcastEvent event, + AudioBroadcastCatchStatus status, + boolean isFromPlatform + ) { this.deviceId = deviceId; this.channelId = channelId; this.status = status; + this.event = event; + this.isFromPlatform = isFromPlatform; + this.app = app; + this.stream = stream; + this.mediaServerItem = mediaServerItem; } public AudioBroadcastCatch() { @@ -30,6 +46,26 @@ private String channelId; /** + * 娴佸獟浣撲俊鎭� + */ + private MediaServerItem mediaServerItem; + + /** + * 鍏宠仈鐨勬祦APP + */ + private String app; + + /** + * 鍏宠仈鐨勬祦STREAM + */ + private String stream; + + /** + * 鏄惁鏄骇鑱旇闊冲枈璇� + */ + private boolean isFromPlatform; + + /** * 璇煶骞挎挱鐘舵�� */ private AudioBroadcastCatchStatus status; @@ -38,6 +74,11 @@ * 璇锋眰淇℃伅 */ private SipTransactionInfo sipTransactionInfo; + + /** + * 璇锋眰缁撴灉鍥炶皟 + */ + private AudioBroadcastEvent event; public String getDeviceId() { @@ -75,4 +116,44 @@ public void setSipTransactionInfoByRequset(SIPResponse response) { this.sipTransactionInfo = new SipTransactionInfo(response, false); } + + public AudioBroadcastEvent getEvent() { + return event; + } + + public void setEvent(AudioBroadcastEvent event) { + this.event = event; + } + + public String getApp() { + return app; + } + + public void setApp(String app) { + this.app = app; + } + + public String getStream() { + return stream; + } + + public void setStream(String stream) { + this.stream = stream; + } + + public boolean isFromPlatform() { + return isFromPlatform; + } + + public void setFromPlatform(boolean fromPlatform) { + isFromPlatform = fromPlatform; + } + + public MediaServerItem getMediaServerItem() { + return mediaServerItem; + } + + public void setMediaServerItem(MediaServerItem mediaServerItem) { + this.mediaServerItem = mediaServerItem; + } } -- Gitblit v1.8.0