package com.zksy.visualization.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "HLS、FLV、RTMP实时预览请求参数")
public class VideoPlayRequest {

    @ApiModelProperty(value = "Json串", required = true)
    private Data data;

    @lombok.Data
    @ApiModel(description = "数据详情")
    public static class Data {
        @ApiModelProperty(value = "视频通道编码", required = true)
        private String channelId;

        @ApiModelProperty(value = "码流类型：1=主码流, 2=辅码流，3=辅码流2", required = true)
        private String streamType;

        @ApiModelProperty(value = "协议类型：hls, hlss, flv, flvs, ws_flv, wss_flv, rtmp", required = true)
        private String type;

    }
}