From b3c4636520e58c27a71409c764c2017c695682c1 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 20 三月 2023 14:40:17 +0800 Subject: [PATCH] 主线合并talk模式 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/AudioBroadcastCatch.java | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 49 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..a57f7a3 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,7 @@ package com.genersoft.iot.vmp.gb28181.bean; +import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; import gov.nist.javax.sip.message.SIPResponse; /** @@ -10,10 +11,18 @@ public class AudioBroadcastCatch { - public AudioBroadcastCatch(String deviceId, String channelId, AudioBroadcastCatchStatus status) { + public AudioBroadcastCatch(String deviceId, + String channelId, + AudioBroadcastCatchStatus status, + MediaServerItem mediaServerItem, + String app, + String stream) { this.deviceId = deviceId; this.channelId = channelId; this.status = status; + this.mediaServerItem = mediaServerItem; + this.app = app; + this.stream = stream; } public AudioBroadcastCatch() { @@ -28,6 +37,21 @@ * 閫氶亾缂栧彿 */ private String channelId; + + /** + * 浣跨敤鐨勬祦濯掍綋 + */ + private MediaServerItem mediaServerItem; + + /** + * 寰呮帹閫佺粰璁惧鐨勬祦搴旂敤鍚� + */ + private String app; + + /** + * 寰呮帹閫佺粰璁惧鐨勬祦ID + */ + private String stream; /** * 璇煶骞挎挱鐘舵�� @@ -68,6 +92,22 @@ return sipTransactionInfo; } + 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 void setSipTransactionInfo(SipTransactionInfo sipTransactionInfo) { this.sipTransactionInfo = sipTransactionInfo; } @@ -75,4 +115,12 @@ public void setSipTransactionInfoByRequset(SIPResponse response) { this.sipTransactionInfo = new SipTransactionInfo(response, false); } + + public MediaServerItem getMediaServerItem() { + return mediaServerItem; + } + + public void setMediaServerItem(MediaServerItem mediaServerItem) { + this.mediaServerItem = mediaServerItem; + } } -- Gitblit v1.8.0