package com.multictrl.modules.business.q20.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * Q20直播开始DTO
 *
 * @author 938693313@qq.com
 * @since 1.0.0 2026/5/20
 */
@Data
@Schema(name = "Q20直播开始参数")
public class Q20LiveStartDTO {

    @Schema(description = "负载索引: fpv=-1, 前向=0, 前向=1, 下向=2, JSON key: payload_index")
    private int payloadIndex;

    @Schema(description = "推流协议类型: 0=Agora, 1=RTMP, 2=RTSP, 3=GB28181, 4=WebRTC, JSON key: url_type")
    private int urlType;

    @Schema(description = "直播URL地址")
    private String url;

    @Schema(description = "码流类型: 0=主码流, 1=辅码流")
    private int video;

    @Schema(description = "视频ID, 格式: {sn}/{camera_index}/{video_index}, JSON key: video_id")
    private String videoId;

    @Schema(description = "视频类型: ir/wide/zoom, JSON key: video_type")
    private String videoType;
}
