hikvision-video-api/src/main/java/com/hikvision/video/model/PlaybackUrlRequest.java

66 lines
1.3 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.hikvision.video.model;
import lombok.Data;
/**
* 录像回放取流请求v2
* <p>
* 对应接口POST /artemis/api/video/v2/cameras/playbackURLs
* </p>
*/
@Data
public class PlaybackUrlRequest {
/** 监控点编码(必填) */
private String cameraIndexCode;
/**
* 回放开始时间ISO 8601 格式(必填)
* 示例2024-01-01T00:00:00.000+08:00
*/
private String beginTime;
/**
* 回放结束时间ISO 8601 格式(必填)
*/
private String endTime;
/**
* 存储位置(必填)
* "0" - 中心存储(默认)
* "1" - 设备存储
*/
private String recordLocation = "0";
/**
* 协议类型v2 用字符串)
* "rtsp"(默认)/ "rtmp" / "hls" / "flv"
*/
private String protocol = "rtsp";
/**
* 传输协议0-UDP默认, 1-TCP
*/
private Integer transmode = 0;
/**
* 扩展字段,例如 "streamform=rtp"(可选)
*/
private String expand;
/**
* 流封装格式:"ps"(默认)/ "rtp"(可选)
*/
private String streamform = "ps";
/**
* 锁定类型0-不锁定(默认)(可选)
*/
private Integer lockType = 0;
/**
* 唯一流标识(可选,不传由平台生成)
*/
private String uuid;
}