| | |
| | | package com.genersoft.iot.vmp.gb28181.bean; |
| | | |
| | | |
| | | import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; |
| | | import com.genersoft.iot.vmp.media.zlm.dto.MediaServer; |
| | | import com.genersoft.iot.vmp.vmanager.gb28181.play.bean.AudioBroadcastEvent; |
| | | import gov.nist.javax.sip.message.SIPResponse; |
| | | |
| | |
| | | public AudioBroadcastCatch( |
| | | String deviceId, |
| | | String channelId, |
| | | MediaServerItem mediaServerItem, |
| | | MediaServer mediaServerItem, |
| | | String app, |
| | | String stream, |
| | | AudioBroadcastEvent event, |
| | |
| | | /** |
| | | * 流媒体信息 |
| | | */ |
| | | private MediaServerItem mediaServerItem; |
| | | private MediaServer mediaServerItem; |
| | | |
| | | /** |
| | | * 关联的流APP |
| | |
| | | return sipTransactionInfo; |
| | | } |
| | | |
| | | public void setSipTransactionInfo(SipTransactionInfo sipTransactionInfo) { |
| | | this.sipTransactionInfo = sipTransactionInfo; |
| | | public MediaServer getMediaServerItem() { |
| | | return mediaServerItem; |
| | | } |
| | | |
| | | 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 void setMediaServerItem(MediaServer mediaServerItem) { |
| | | this.mediaServerItem = mediaServerItem; |
| | | } |
| | | |
| | | public String getApp() { |
| | |
| | | isFromPlatform = fromPlatform; |
| | | } |
| | | |
| | | public MediaServerItem getMediaServerItem() { |
| | | return mediaServerItem; |
| | | public void setSipTransactionInfo(SipTransactionInfo sipTransactionInfo) { |
| | | this.sipTransactionInfo = sipTransactionInfo; |
| | | } |
| | | |
| | | public void setMediaServerItem(MediaServerItem mediaServerItem) { |
| | | this.mediaServerItem = mediaServerItem; |
| | | public AudioBroadcastEvent getEvent() { |
| | | return event; |
| | | } |
| | | |
| | | public void setEvent(AudioBroadcastEvent event) { |
| | | this.event = event; |
| | | } |
| | | |
| | | public void setSipTransactionInfoByRequset(SIPResponse sipResponse) { |
| | | this.sipTransactionInfo = new SipTransactionInfo(sipResponse); |
| | | } |
| | | } |