parent
4deba9f86c
commit
f0e417f1d7
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
package com.guwan.backend.dto.live;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
@Schema(description = "创建直播间请求")
|
|
||||||
public class CreateRoomRequest {
|
|
||||||
|
|
||||||
@Schema(description = "直播间标题")
|
|
||||||
private String title;
|
|
||||||
|
|
||||||
@Schema(description = "直播间描述")
|
|
||||||
private String description;
|
|
||||||
|
|
||||||
@Schema(description = "主播用户ID")
|
|
||||||
private Long userId;
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
package com.guwan.backend.dto.live;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
@Schema(description = "直播间DTO")
|
|
||||||
public class LiveRoomDTO {
|
|
||||||
@Schema(description = "直播间标题")
|
|
||||||
private String title;
|
|
||||||
|
|
||||||
@Schema(description = "直播间描述")
|
|
||||||
private String description;
|
|
||||||
|
|
||||||
@Schema(description = "封面图URL")
|
|
||||||
private String coverUrl;
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
package com.guwan.backend.dto.live;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
@Schema(description = "开始直播请求")
|
|
||||||
public class StartLiveRequest {
|
|
||||||
|
|
||||||
@Schema(description = "推流地址(RTMP/RTSP)")
|
|
||||||
private String sourceUrl;
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
package com.guwan.backend.dto.live;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
@Schema(description = "WebRTC请求")
|
|
||||||
public class WebRTCRequest {
|
|
||||||
|
|
||||||
@Schema(description = "SDP offer")
|
|
||||||
private String sdp;
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
package com.guwan.backend.dto.live;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Schema(description = "WebRTC响应")
|
|
||||||
public class WebRTCResponse {
|
|
||||||
|
|
||||||
@Schema(description = "SDP answer")
|
|
||||||
private String sdp;
|
|
||||||
}
|
|
Loading…
Reference in New Issue