腾讯音视频回调
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
package com.cool.store.dto.trtc.callback;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/**
|
||||
* @Author: young.yu
|
||||
* @Date: 2023-06-29 01:17
|
||||
* @Description:
|
||||
*/
|
||||
public class EventInfo {
|
||||
@JsonProperty("RoomId")
|
||||
private String roomId;
|
||||
@JsonProperty("EventTs")
|
||||
private long eventTs;
|
||||
@JsonProperty("UserId")
|
||||
private String userId;
|
||||
@JsonProperty("TaskId")
|
||||
private String taskId;
|
||||
@JsonProperty("Payload")
|
||||
private Payload payload;
|
||||
|
||||
public String getRoomId() {
|
||||
return roomId;
|
||||
}
|
||||
|
||||
public void setRoomId(String roomId) {
|
||||
this.roomId = roomId;
|
||||
}
|
||||
|
||||
public long getEventTs() {
|
||||
return eventTs;
|
||||
}
|
||||
|
||||
public void setEventTs(long eventTs) {
|
||||
this.eventTs = eventTs;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getTaskId() {
|
||||
return taskId;
|
||||
}
|
||||
|
||||
public void setTaskId(String taskId) {
|
||||
this.taskId = taskId;
|
||||
}
|
||||
|
||||
public Payload getPayload() {
|
||||
return payload;
|
||||
}
|
||||
|
||||
public void setPayload(Payload payload) {
|
||||
this.payload = payload;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.cool.store.dto.trtc.callback;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/**
|
||||
* @Author: young.yu
|
||||
* @Date: 2023-06-29 01:17
|
||||
* @Description:
|
||||
*/
|
||||
public class Payload {
|
||||
@JsonProperty("Status")
|
||||
private int status;
|
||||
@JsonProperty("TencentVod")
|
||||
private TencentVod tencentVod;
|
||||
|
||||
public int getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(int status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public TencentVod getTencentVod() {
|
||||
return tencentVod;
|
||||
}
|
||||
|
||||
public void setTencentVod(TencentVod tencentVod) {
|
||||
this.tencentVod = tencentVod;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package com.cool.store.dto.trtc.callback;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/**
|
||||
* @Author: young.yu
|
||||
* @Date: 2023-06-29 01:18
|
||||
* @Description:
|
||||
*/
|
||||
public class TencentVod {
|
||||
@JsonProperty("UserId")
|
||||
private String userId;
|
||||
@JsonProperty("TrackType")
|
||||
private String trackType;
|
||||
@JsonProperty("MediaId")
|
||||
private String mediaId;
|
||||
@JsonProperty("FileId")
|
||||
private String fileId;
|
||||
@JsonProperty("VideoUrl")
|
||||
private String videoUrl;
|
||||
@JsonProperty("CacheFile")
|
||||
private String cacheFile;
|
||||
@JsonProperty("StartTimeStamp")
|
||||
private long startTimeStamp;
|
||||
@JsonProperty("EndTimeStamp")
|
||||
private int endTimeStamp;
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getTrackType() {
|
||||
return trackType;
|
||||
}
|
||||
|
||||
public void setTrackType(String trackType) {
|
||||
this.trackType = trackType;
|
||||
}
|
||||
|
||||
public String getMediaId() {
|
||||
return mediaId;
|
||||
}
|
||||
|
||||
public void setMediaId(String mediaId) {
|
||||
this.mediaId = mediaId;
|
||||
}
|
||||
|
||||
public String getFileId() {
|
||||
return fileId;
|
||||
}
|
||||
|
||||
public void setFileId(String fileId) {
|
||||
this.fileId = fileId;
|
||||
}
|
||||
|
||||
public String getVideoUrl() {
|
||||
return videoUrl;
|
||||
}
|
||||
|
||||
public void setVideoUrl(String videoUrl) {
|
||||
this.videoUrl = videoUrl;
|
||||
}
|
||||
|
||||
public String getCacheFile() {
|
||||
return cacheFile;
|
||||
}
|
||||
|
||||
public void setCacheFile(String cacheFile) {
|
||||
this.cacheFile = cacheFile;
|
||||
}
|
||||
|
||||
public long getStartTimeStamp() {
|
||||
return startTimeStamp;
|
||||
}
|
||||
|
||||
public void setStartTimeStamp(long startTimeStamp) {
|
||||
this.startTimeStamp = startTimeStamp;
|
||||
}
|
||||
|
||||
public int getEndTimeStamp() {
|
||||
return endTimeStamp;
|
||||
}
|
||||
|
||||
public void setEndTimeStamp(int endTimeStamp) {
|
||||
this.endTimeStamp = endTimeStamp;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.cool.store.dto.trtc.callback;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/**
|
||||
* @Author: young.yu
|
||||
* @Date: 2023-06-29 01:16
|
||||
* @Description:
|
||||
*/
|
||||
public class VideoCallBackDTO {
|
||||
@JsonProperty("EventGroupId")
|
||||
private int eventGroupId;
|
||||
@JsonProperty("EventType")
|
||||
private int eventType;
|
||||
@JsonProperty("CallbackTs")
|
||||
private long callbackTs;
|
||||
@JsonProperty("EventInfo")
|
||||
private EventInfo eventInfo;
|
||||
|
||||
public int getEventGroupId() {
|
||||
return eventGroupId;
|
||||
}
|
||||
|
||||
public void setEventGroupId(int eventGroupId) {
|
||||
this.eventGroupId = eventGroupId;
|
||||
}
|
||||
|
||||
public int getEventType() {
|
||||
return eventType;
|
||||
}
|
||||
|
||||
public void setEventType(int eventType) {
|
||||
this.eventType = eventType;
|
||||
}
|
||||
|
||||
public long getCallbackTs() {
|
||||
return callbackTs;
|
||||
}
|
||||
|
||||
public void setCallbackTs(long callbackTs) {
|
||||
this.callbackTs = callbackTs;
|
||||
}
|
||||
|
||||
public EventInfo getEventInfo() {
|
||||
return eventInfo;
|
||||
}
|
||||
|
||||
public void setEventInfo(EventInfo eventInfo) {
|
||||
this.eventInfo = eventInfo;
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
@ApiModel
|
||||
public class GetLastUpdateTimeInfoReq {
|
||||
public class GetTipsInfoReq {
|
||||
@ApiModelProperty("线索id")
|
||||
private String partnerLineId;
|
||||
}
|
||||
Reference in New Issue
Block a user