| | |
| | | package com.genersoft.iot.vmp.gb28181.bean; |
| | | |
| | | import com.genersoft.iot.vmp.common.VideoManagerConstants; |
| | | |
| | | public class SendRtpItem { |
| | | |
| | | /** |
| | |
| | | /** |
| | | * invite 的 callId |
| | | */ |
| | | private String CallId; |
| | | private String callId; |
| | | |
| | | /** |
| | | * invite 的 fromTag |
| | |
| | | * 发流的同时收流 |
| | | */ |
| | | private String receiveStream; |
| | | |
| | | /** |
| | | * 上级的点播类型 |
| | | */ |
| | | private String sessionName; |
| | | |
| | | public String getIp() { |
| | | return ip; |
| | |
| | | } |
| | | |
| | | public String getCallId() { |
| | | return CallId; |
| | | return callId; |
| | | } |
| | | |
| | | public void setCallId(String callId) { |
| | | CallId = callId; |
| | | this.callId = callId; |
| | | } |
| | | |
| | | public InviteStreamType getPlayType() { |
| | |
| | | this.localIp = localIp; |
| | | } |
| | | |
| | | public String getSessionName() { |
| | | return sessionName; |
| | | } |
| | | |
| | | public void setSessionName(String sessionName) { |
| | | this.sessionName = sessionName; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "SendRtpItem{" + |
| | |
| | | ", stream='" + stream + '\'' + |
| | | ", tcp=" + tcp + |
| | | ", tcpActive=" + tcpActive + |
| | | ", localIp=" + localIp + |
| | | ", localIp='" + localIp + '\'' + |
| | | ", localPort=" + localPort + |
| | | ", mediaServerId='" + mediaServerId + '\'' + |
| | | ", serverId='" + serverId + '\'' + |
| | | ", CallId='" + CallId + '\'' + |
| | | ", CallId='" + callId + '\'' + |
| | | ", fromTag='" + fromTag + '\'' + |
| | | ", toTag='" + toTag + '\'' + |
| | | ", pt=" + pt + |
| | |
| | | ", rtcp=" + rtcp + |
| | | ", playType=" + playType + |
| | | ", receiveStream='" + receiveStream + '\'' + |
| | | ", sessionName='" + sessionName + '\'' + |
| | | '}'; |
| | | } |
| | | |
| | | public String getRedisKey() { |
| | | String key = VideoManagerConstants.PLATFORM_SEND_RTP_INFO_PREFIX + |
| | | serverId + "_" |
| | | + mediaServerId + "_" |
| | | + platformId + "_" |
| | | + channelId + "_" |
| | | + stream + "_" |
| | | + callId; |
| | | return key; |
| | | } |
| | | } |