添加拉流代理与国标关联, 支持代理rtsp/rtmp/...,转发到国标
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
package com.genersoft.iot.vmp.gb28181.bean;
|
||||
|
||||
/**
|
||||
* 直播流关联国标上级平台
|
||||
*/
|
||||
public class GbStream extends PlatformGbStream{
|
||||
|
||||
private String app;
|
||||
private String stream;
|
||||
private String gbId;
|
||||
private String name;
|
||||
private double longitude;
|
||||
private double latitude;
|
||||
private String streamType;
|
||||
|
||||
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 String getGbId() {
|
||||
return gbId;
|
||||
}
|
||||
|
||||
public void setGbId(String gbId) {
|
||||
this.gbId = gbId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public double getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(double longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public double getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
public void setLatitude(double latitude) {
|
||||
this.latitude = latitude;
|
||||
}
|
||||
|
||||
public String getStreamType() {
|
||||
return streamType;
|
||||
}
|
||||
|
||||
public void setStreamType(String streamType) {
|
||||
this.streamType = streamType;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.genersoft.iot.vmp.gb28181.bean;
|
||||
|
||||
public class PlatformGbStream {
|
||||
private String app;
|
||||
private String stream;
|
||||
private String platformId;
|
||||
|
||||
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 String getPlatformId() {
|
||||
return platformId;
|
||||
}
|
||||
|
||||
public void setPlatformId(String platformId) {
|
||||
this.platformId = platformId;
|
||||
}
|
||||
}
|
||||
@@ -27,6 +27,11 @@ public class SendRtpItem {
|
||||
*/
|
||||
private String deviceId;
|
||||
|
||||
/**
|
||||
* 直播流的应用名
|
||||
*/
|
||||
private String app;
|
||||
|
||||
/**
|
||||
* 通道id
|
||||
*/
|
||||
@@ -40,10 +45,6 @@ public class SendRtpItem {
|
||||
*/
|
||||
private int status = 0;
|
||||
|
||||
/**
|
||||
* 设备推流的app
|
||||
*/
|
||||
private String app = "rtp";
|
||||
|
||||
/**
|
||||
* 设备推流的streamId
|
||||
|
||||
Reference in New Issue
Block a user