public class EvsClient extends AbstractBceClient
| Modifier and Type | Field and Description |
|---|---|
static String |
FI |
static String |
FI_COMMAND |
static String |
GOTO |
static String |
PRESET |
static String |
PTZ_COMMAND |
static String |
SPEED |
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
EvsClient() |
EvsClient(BceClientConfiguration clientConfiguration) |
EvsClient(BceClientConfiguration config,
HttpResponseHandler[] responseHandlers) |
EvsClient(BceClientConfiguration config,
HttpResponseHandler[] responseHandlers,
boolean isHttpAsyncPutEnabled) |
| Modifier and Type | Method and Description |
|---|---|
GbPresetAddResponse |
addChannelPreset(long channelId,
GbPresetAddRequest request)
Used to add presets to the national standard equipment channel.
|
BindDeviceResponse |
bindDeviceBySnCode(BindDeviceRequest request)
Used to SnCode for binding bvcp equipment
|
DeviceCountResponse |
countChannelRecoding(long channelId,
long begin,
long end)
Used to query the number of video files of GB28181 device channel
|
DeviceCountResponse |
countChannelThumbnail(long channelId,
long begin,
long end)
Used to query the number of screenshot files of the Gb28181 device channel.
|
DeviceCountResponse |
countDevicehumbnail(long deviceId,
long begin,
long end)
Used to query the number of screenshot files of the RTMP device.
|
DeviceCountResponse |
countDeviceRecoding(long deviceId,
long begin,
long end)
Used to query the number of video files of the RTMP device.
|
DeviceCreateResponse |
createDevice(DeviceCreateRequest request)
Use to add EVS device.
|
SpaceCreateResponse |
createSpace(SpaceCreateRequest request)
Used to create EVS space
|
void |
deleteChannelPreset(long channelId,
int presetId)
Used to delete the preset position of the national standard equipment channel.
|
void |
deleteDevice(long deviceId)
Used to delete EVS device.
|
void |
deleteSpace(long spaceId)
Used to delete EVS space.
|
void |
disableDevice(long deviceId,
DeviceStopRequest request)
Used to deactivate EVS devices.
|
void |
disableSpace(long spaceId)
Used to deactivate the EVS space.
|
void |
enableDevice(long deviceId)
Used to enable EVS devices.
|
void |
enableSpace(long spaceId)
Used to enable the EVS space.
|
DeviceChannelSignedUrlResponse |
generateChannelSignedUrl(long channelId,
String protocol)
Used to obtain the channel broadcast signature address according to the domain name
|
DeviceSignedUrlResponse |
generateDeviceSignedUrl(String domain,
String app,
String stream,
String protocol)
Used to obtain the device broadcast signature address according to the domain name
|
DeviceChannelGetResponse |
getChannel(long channelId)
Used to view the specified GB28181 device channel.
|
DeviceGetResponse |
getDevice(long deviceId)
Used to query EVS devices.
|
GBConfigDownloadResponse |
getDeviceGbConfigDownload(long deviceId)
Used to query national standard equipment configuration information.
|
SpaceGetResponse |
getSpace(long spaceId)
Used to query EVS space configuration information.
|
void |
gotoChannelPreset(long channelId,
int presetId)
Used to call the preset position of the national standard equipment channel, and quickly move the camera to
the preset position.
|
DeviceChannelListResponse |
listChannel(long deviceId)
Used to view the channel list of the GB28181 device.
|
DeviceAiAnalysisListMarkResponse |
listChannelAiAnalysisResultByMarker(long channelId,
String aiType,
DeviceAiAnalysisListMarkRequest request)
It is used to query the AI analysis results of GB28181 device channels.
|
GbPresetListResponse |
listChannelPreset(long channelId)
Used to query the preset position list of the national standard equipment channel.
|
DeviceTsStorePageListResponse |
listChannelRecord(long channelId,
DeviceTsStoreListRequest request)
Used to query the video file list of GB28181 device channel.
|
DeviceTsStorePageListResponse |
listChannelThumbnail(long channelId,
DeviceTsStoreListRequest request)
Used to query the list of screenshot files of GB28181 device channel.
|
DeviceAiAnalysisListMarkResponse |
listDeviceAiAnalysisResultByMarker(long deviceId,
String aiType,
DeviceAiAnalysisListMarkRequest request)
Used to query the AI analysis results of RTMP devices.
|
DeviceTsStorePageListResponse |
listDeviceRecord(long deviceId,
DeviceTsStoreListRequest request)
Used to query the device's video file list
|
DeviceTsStorePageListResponse |
listDeviceThumbnail(long deviceId,
DeviceTsStoreListRequest request)
Used to query the device's screenshot file list
|
DeviceMarkListResponse |
listMarkDevice(DeviceListMarkRequest request)
Use to query all the devices in user space below the list, by marker query.
|
SpaceMarkListResponse |
listSpaceByMarker(SpaceListMarkRequest request)
Query EVS list of all Spaces under the user account in the way of Marker paging.
|
void |
modifyChannelFi(long channelId,
String fiCommand,
int speed)
Used to adjust the aperture and focus of the national standard equipment channel.
|
void |
modifyChannelPtz(long channelId,
String ptzCommand,
int speed)
Used to perform PTZ operation on the national standard equipment channel.
|
void |
modifyDeviceGbPassword(long deviceId,
GBDevicePasswordRequest request)
Used to modify the user password of the GB28181 device.
|
void |
refreshChannels(long deviceId)
Used to refresh the channel of the specified GB28181 device.
|
void |
removeChannelRecord(long channelId,
long begin,
long end)
Used to delete the video files of the GB28181 device channel.
|
void |
removeChannelThumbnail(long channelId,
long begin,
long end)
Used to delete the screenshot file of the GB28181 device channel.
|
void |
removeDeviceRecord(long deviceId,
long begin,
long end)
Used to delete the video files of the RTMP device.
|
void |
removeDeviceThumbnail(long deviceId,
long begin,
long end)
Used to delete the screenshot files of the RTMP device.
|
void |
startChannel(long channelId)
Used to enable the specified channel of the GB28181 device.
|
void |
stopChannel(long channelId,
DeviceStopRequest request)
Used to deactivate the designated channel of the GB28181 device.
|
void |
teleBootDevice(long deviceId)
Used to restart the GB28181 device.
|
DeviceChannelGetResponse |
trafficFrameDevice(long channelId,
DynamicTrafficFrameRequest dynamicTrafficFrame)
Used to set the size of the equipment monitoring frame
|
void |
updateDevice(long deviceId,
DeviceUpdateRequest request)
Used to modify EVS device configuration.
|
void |
updateSpace(long spaceId,
SpaceUpdateRequest request)
Used to modify EVS space configuration.
|
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic static final String PTZ_COMMAND
public static final String SPEED
public static final String FI
public static final String FI_COMMAND
public static final String PRESET
public static final String GOTO
public EvsClient()
public EvsClient(BceClientConfiguration clientConfiguration)
public EvsClient(BceClientConfiguration config, HttpResponseHandler[] responseHandlers)
public EvsClient(BceClientConfiguration config, HttpResponseHandler[] responseHandlers, boolean isHttpAsyncPutEnabled)
public SpaceCreateResponse createSpace(SpaceCreateRequest request)
request - Create the required datapublic void deleteSpace(long spaceId)
spaceId - space idpublic void updateSpace(long spaceId,
SpaceUpdateRequest request)
spaceId - space idrequest - Update the required datapublic SpaceGetResponse getSpace(long spaceId)
spaceId - space idpublic SpaceMarkListResponse listSpaceByMarker(SpaceListMarkRequest request)
request - Criteria used to filter at query timepublic void disableSpace(long spaceId)
spaceId - The space ID to be stoppedpublic void enableSpace(long spaceId)
spaceId - The space ID to be startedpublic DeviceCreateResponse createDevice(DeviceCreateRequest request)
request - Create the required datapublic void deleteDevice(long deviceId)
deviceId - device idpublic void updateDevice(long deviceId,
DeviceUpdateRequest request)
deviceId - device idrequest - Modified informationpublic DeviceGetResponse getDevice(long deviceId)
deviceId - device idpublic DeviceMarkListResponse listMarkDevice(DeviceListMarkRequest request)
request - Conditions for filtering by paging queriespublic void disableDevice(long deviceId,
DeviceStopRequest request)
deviceId - The device ID that needs to be deactivatedrequest - stop time,
If request is null, the device is permanently deactivated. If the request body contains
a recoverTime parameter, deactivate the device until the recoverTime time is specified.public void enableDevice(long deviceId)
deviceId - The device ID that needs to be enabledpublic DeviceTsStorePageListResponse listDeviceRecord(long deviceId, DeviceTsStoreListRequest request)
deviceId - device idrequest - Query required conditions:Recording start and end time (Unix timestamp) 、pageNo、pageSizepublic DeviceCountResponse countDeviceRecoding(long deviceId, long begin, long end)
deviceId - device idbegin - Recording start time, Unix timestamp, in seconds.end - Recording end time, Unix timestamp, in seconds,public void removeDeviceRecord(long deviceId,
long begin,
long end)
deviceId - device idbegin - Recording start time, Unix timestamp, in seconds.end - Recording end time, Unix timestamp, in seconds,public DeviceTsStorePageListResponse listDeviceThumbnail(long deviceId, DeviceTsStoreListRequest request)
deviceId - device idrequest - Query required conditions:Thumbnail start and end time (Unix timestamp) 、pageNo、pageSizepublic DeviceCountResponse countDevicehumbnail(long deviceId, long begin, long end)
deviceId - device idbegin - Thumbnail start time, Unix timestamp, in seconds.end - Thumbnail end time, Unix timestamp, in seconds,public void removeDeviceThumbnail(long deviceId,
long begin,
long end)
deviceId - device idbegin - Thumbnail start time, Unix timestamp, in seconds.end - Thumbnail end time, Unix timestamp, in seconds,public DeviceAiAnalysisListMarkResponse listDeviceAiAnalysisResultByMarker(long deviceId, String aiType, DeviceAiAnalysisListMarkRequest request)
deviceId - device idaiType - AI detection type,Support:
FACE、BODY、ELECTRIC、CAR_ATTRIBUTE、CAR_MODEL、CAR_PLATE,STATIC_HUMAN_TRAFFIC、STATIC_CAR_TRAFFIC、
QUALITY_BRIGHT、QUALITY_COLOR、QUALITY_COVER、QUALITY_BLUR、QUALITY_NOISErequest - Query required conditions:Recording start and end time (Unix timestamp) 、pageNo、pageSizepublic DeviceSignedUrlResponse generateDeviceSignedUrl(String domain, String app, String stream, String protocol)
domain - domain nameapp - device appstream - device streamprotocol - Agreement namepublic GBConfigDownloadResponse getDeviceGbConfigDownload(long deviceId)
deviceId - gb device idpublic void teleBootDevice(long deviceId)
deviceId - gb device idpublic DeviceChannelGetResponse trafficFrameDevice(long channelId, DynamicTrafficFrameRequest dynamicTrafficFrame)
channelId - channelId IDdynamicTrafficFrame - equipment monitoring frame config infopublic void modifyDeviceGbPassword(long deviceId,
GBDevicePasswordRequest request)
deviceId - gb device idrequest - new passwordpublic DeviceChannelListResponse listChannel(long deviceId)
deviceId - gb device idpublic void refreshChannels(long deviceId)
deviceId - gb device idpublic DeviceChannelGetResponse getChannel(long channelId)
channelId - channel idpublic void stopChannel(long channelId,
DeviceStopRequest request)
channelId - channel idrequest - UTZ time, If it is empty, the device will be disabled permanently, if it is not empty, the
device will be disabled until the recoverTime is specifiedpublic void startChannel(long channelId)
channelId - channel idpublic DeviceChannelSignedUrlResponse generateChannelSignedUrl(long channelId, String protocol)
channelId - channel idprotocol - Agreement namepublic DeviceTsStorePageListResponse listChannelRecord(long channelId, DeviceTsStoreListRequest request)
channelId - channel idrequest - Query required conditions:Recording start and end time (Unix timestamp) 、pageNo、pageSizepublic DeviceCountResponse countChannelRecoding(long channelId, long begin, long end)
channelId - channel idbegin - Recording start time, Unix timestamp, in seconds.end - Recording end time, Unix timestamp, in seconds,public void removeChannelRecord(long channelId,
long begin,
long end)
channelId - channelId idbegin - Recording start time, Unix timestamp, in seconds.end - Recording end time, Unix timestamp, in seconds,public DeviceTsStorePageListResponse listChannelThumbnail(long channelId, DeviceTsStoreListRequest request)
channelId - channelId idrequest - Query required conditions:Thumbnail start and end time (Unix timestamp) 、pageNo、pageSizepublic DeviceCountResponse countChannelThumbnail(long channelId, long begin, long end)
channelId - channel idbegin - Thumbnail start time, Unix timestamp, in seconds.end - Thumbnail end time, Unix timestamp, in seconds,public void removeChannelThumbnail(long channelId,
long begin,
long end)
channelId - channel idbegin - Thumbnail start time, Unix timestamp, in seconds.end - Thumbnail end time, Unix timestamp, in seconds,public DeviceAiAnalysisListMarkResponse listChannelAiAnalysisResultByMarker(long channelId, String aiType, DeviceAiAnalysisListMarkRequest request)
channelId - channel idaiType - AI detection type,Support:
FACE、BODY、ELECTRIC、CAR_ATTRIBUTE、CAR_MODEL、CAR_PLATE,STATIC_HUMAN_TRAFFIC、STATIC_CAR_TRAFFIC、
QUALITY_BRIGHT、QUALITY_COLOR、QUALITY_COVER、QUALITY_BLUR、QUALITY_NOISErequest - Query required conditions:Recording start and end time (Unix timestamp) 、pageNo、pageSizepublic void modifyChannelPtz(long channelId,
String ptzCommand,
int speed)
channelId - channel idptzCommand - ptz command, support:
stop/left/right/up/down/zoomin/zoomout/left_up/left_down/right_up/right_downspeed - Adjust the speed, support 1-255 for up, down,
left and right operation, and 1-15 for zoom operationpublic void modifyChannelFi(long channelId,
String fiCommand,
int speed)
channelId - channel idfiCommand - support:stop/irisin/irisout/focusnear/focusfarspeed - Adjust the speed, support 1-255public GbPresetAddResponse addChannelPreset(long channelId, GbPresetAddRequest request)
channelId - channel idrequest - Preset position name, the maximum length is 100Note: Before initiating the request to add a preset position, make sure that the camera has been adjusted to the expected position and angle through the ptz control.
public void deleteChannelPreset(long channelId,
int presetId)
channelId - channel idpresetId - preset Idpublic GbPresetListResponse listChannelPreset(long channelId)
channelId - channel idpublic void gotoChannelPreset(long channelId,
int presetId)
channelId - channel idpresetId - preset Idpublic BindDeviceResponse bindDeviceBySnCode(BindDeviceRequest request)
request - Bind the required dataCopyright © 2024. All rights reserved.