修复多平台推流无人观看redis通知
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
package com.genersoft.iot.vmp.service.bean;
|
||||
|
||||
import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem;
|
||||
|
||||
|
||||
public class RequestStopPushStreamMsg {
|
||||
|
||||
|
||||
private SendRtpItem sendRtpItem;
|
||||
|
||||
|
||||
private String platformName;
|
||||
|
||||
|
||||
private int platFormIndex;
|
||||
|
||||
public SendRtpItem getSendRtpItem() {
|
||||
return sendRtpItem;
|
||||
}
|
||||
|
||||
public void setSendRtpItem(SendRtpItem sendRtpItem) {
|
||||
this.sendRtpItem = sendRtpItem;
|
||||
}
|
||||
|
||||
public String getPlatformName() {
|
||||
return platformName;
|
||||
}
|
||||
|
||||
public void setPlatformName(String platformName) {
|
||||
this.platformName = platformName;
|
||||
}
|
||||
|
||||
|
||||
public int getPlatFormIndex() {
|
||||
return platFormIndex;
|
||||
}
|
||||
|
||||
public void setPlatFormIndex(int platFormIndex) {
|
||||
this.platFormIndex = platFormIndex;
|
||||
}
|
||||
|
||||
public static RequestStopPushStreamMsg getInstance(SendRtpItem sendRtpItem, String platformName, int platFormIndex) {
|
||||
RequestStopPushStreamMsg streamMsg = new RequestStopPushStreamMsg();
|
||||
streamMsg.setSendRtpItem(sendRtpItem);
|
||||
streamMsg.setPlatformName(platformName);
|
||||
streamMsg.setPlatFormIndex(platFormIndex);
|
||||
return streamMsg;
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,17 @@ package com.genersoft.iot.vmp.service.bean;
|
||||
|
||||
public class WvpRedisMsgCmd {
|
||||
|
||||
/**
|
||||
* 请求获取推流信息
|
||||
*/
|
||||
public static final String GET_SEND_ITEM = "GetSendItem";
|
||||
/**
|
||||
* 请求推流的请求
|
||||
*/
|
||||
public static final String REQUEST_PUSH_STREAM = "RequestPushStream";
|
||||
/**
|
||||
* 停止推流的请求
|
||||
*/
|
||||
public static final String REQUEST_STOP_PUSH_STREAM = "RequestStopPushStream";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user