Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
bec5df1d
Commit
bec5df1d
authored
Oct 11, 2018
by
songxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
直播转码常量类
parent
c8848fc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
215 additions
and
197 deletions
+215
-197
ConvertQueueDto.java
...main/java/com/pcloud/common/core/dto/ConvertQueueDto.java
+209
-196
TranscodeFromEnum.java
.../java/com/pcloud/common/core/enums/TranscodeFromEnum.java
+6
-1
No files found.
pcloud-common-core/src/main/java/com/pcloud/common/core/dto/ConvertQueueDto.java
View file @
bec5df1d
/**
/**
*
*
*/
*/
package
com
.
pcloud
.
common
.
core
.
dto
;
package
com
.
pcloud
.
common
.
core
.
dto
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.io.Serializable
;
/**
/**
* @描述:
* @描述:
*
* @作者:songx
* @作者:songx
* @创建时间:2017年2月27日,上午11:23:29 @版本:1.0
* @创建时间:2017年2月27日,上午11:23:29 @版本:1.0
*/
*/
public
class
ConvertQueueDto
implements
Serializable
{
public
class
ConvertQueueDto
implements
Serializable
{
/**
/**
*
*
*/
*/
private
static
final
long
serialVersionUID
=
7968821573480010447L
;
private
static
final
long
serialVersionUID
=
7968821573480010447L
;
/**
/**
* 标识
* 标识
*/
*/
private
Long
id
;
private
Long
id
;
/**
/**
* 文件UUID
* 文件UUID
*/
*/
private
String
fileId
;
private
String
fileId
;
/**
/**
* 来源类型
* 来源类型
*/
*/
private
String
fromType
;
private
String
fromType
;
/**
/**
* 来源标识
* 自定义类型,fromType的二级类型
*/
*/
private
Long
fromId
;
@ApiModelProperty
(
name
=
"自定义类型"
,
dataType
=
"String"
)
private
String
customType
;
/**
* 文件路径
/**
*/
* 来源标识
private
String
fileUrl
;
*/
private
Long
fromId
;
/**
* 文件大小
/**
*/
* 文件路径
private
Long
fileSize
;
*/
private
String
fileUrl
;
/**
* 文件类型
/**
*/
* 文件大小
private
String
fileType
;
*/
private
Long
fileSize
;
/**
* 在缓存中被处理的次数
/**
*/
* 文件类型
private
int
processTimes
=
0
;
*/
private
String
fileType
;
/**
* 转换成功标记,true:成功,false失败
/**
*/
* 在缓存中被处理的次数
private
Boolean
state
;
*/
private
int
processTimes
=
0
;
/**
* 封面图
/**
*/
* 转换成功标记,true:成功,false失败
private
String
coverImg
;
*/
private
Boolean
state
;
/**
* 使用地址
/**
*/
* 封面图
private
String
pilotUrl
;
*/
private
String
coverImg
;
/**
* 视频时长
/**
*/
* 使用地址
private
Integer
duration
;
*/
private
String
pilotUrl
;
/**
* 视频m3u8地址
/**
*/
* 视频时长
private
String
m3u8Url
;
*/
private
Integer
duration
;
public
String
getM3u8Url
()
{
return
m3u8Url
;
/**
}
* 视频m3u8地址
*/
public
void
setM3u8Url
(
String
m3u8Url
)
{
private
String
m3u8Url
;
this
.
m3u8Url
=
m3u8Url
;
}
public
String
getCustomType
()
{
return
customType
;
public
Integer
getDuration
()
{
}
return
duration
;
}
public
void
setCustomType
(
String
customType
)
{
this
.
customType
=
customType
;
public
void
setDuration
(
Integer
duration
)
{
}
this
.
duration
=
duration
;
}
public
String
getM3u8Url
()
{
return
m3u8Url
;
public
Long
getFromId
()
{
}
return
fromId
;
}
public
void
setM3u8Url
(
String
m3u8Url
)
{
this
.
m3u8Url
=
m3u8Url
;
public
void
setFromId
(
Long
fromId
)
{
}
this
.
fromId
=
fromId
;
}
public
Integer
getDuration
()
{
return
duration
;
public
String
getPilotUrl
()
{
}
return
pilotUrl
;
}
public
void
setDuration
(
Integer
duration
)
{
this
.
duration
=
duration
;
public
void
setPilotUrl
(
String
pilotUrl
)
{
}
this
.
pilotUrl
=
pilotUrl
;
}
public
Long
getFromId
()
{
return
fromId
;
public
String
getCoverImg
()
{
}
return
coverImg
;
}
public
void
setFromId
(
Long
fromId
)
{
this
.
fromId
=
fromId
;
public
void
setCoverImg
(
String
coverImg
)
{
}
this
.
coverImg
=
coverImg
;
}
public
String
getPilotUrl
()
{
return
pilotUrl
;
public
Boolean
getState
()
{
}
return
state
;
}
public
void
setPilotUrl
(
String
pilotUrl
)
{
this
.
pilotUrl
=
pilotUrl
;
public
void
setState
(
Boolean
state
)
{
}
this
.
state
=
state
;
}
public
String
getCoverImg
()
{
return
coverImg
;
public
String
getFileType
()
{
}
return
fileType
;
}
public
void
setCoverImg
(
String
coverImg
)
{
this
.
coverImg
=
coverImg
;
public
void
setFileType
(
String
fileType
)
{
}
this
.
fileType
=
fileType
;
}
public
Boolean
getState
()
{
return
state
;
public
Long
getId
()
{
}
return
id
;
}
public
void
setState
(
Boolean
state
)
{
this
.
state
=
state
;
public
void
setId
(
Long
id
)
{
}
this
.
id
=
id
;
}
public
String
getFileType
()
{
return
fileType
;
public
String
getFileId
()
{
}
return
fileId
;
}
public
void
setFileType
(
String
fileType
)
{
this
.
fileType
=
fileType
;
public
void
setFileId
(
String
fileId
)
{
}
this
.
fileId
=
fileId
;
}
public
Long
getId
()
{
return
id
;
public
String
getFromType
()
{
}
return
fromType
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
public
void
setFromType
(
String
fromType
)
{
}
this
.
fromType
=
fromType
;
}
public
String
getFileId
()
{
return
fileId
;
/**
}
* @return Returns the fileUrl.
*/
public
void
setFileId
(
String
fileId
)
{
public
String
getFileUrl
()
{
this
.
fileId
=
fileId
;
return
fileUrl
;
}
}
public
String
getFromType
()
{
/**
return
fromType
;
* @param fileUrl
}
* The fileUrl to set.
*/
public
void
setFromType
(
String
fromType
)
{
public
void
setFileUrl
(
String
fileUrl
)
{
this
.
fromType
=
fromType
;
this
.
fileUrl
=
fileUrl
;
}
}
/**
/**
* @return Returns the fileUrl.
* @return Returns the fileSize.
*/
*/
public
String
getFileUrl
()
{
public
Long
getFileSize
()
{
return
fileUrl
;
return
fileSize
;
}
}
/**
/**
* @param fileUrl The fileUrl to set.
* @param fileSize
*/
* The fileSize to set.
public
void
setFileUrl
(
String
fileUrl
)
{
*/
this
.
fileUrl
=
fileUrl
;
public
void
setFileSize
(
Long
fileSize
)
{
}
this
.
fileSize
=
fileSize
;
}
/**
* @return Returns the fileSize.
public
int
getProcessTimes
()
{
*/
return
processTimes
;
public
Long
getFileSize
()
{
}
return
fileSize
;
}
public
void
setProcessTimes
(
int
processTimes
)
{
this
.
processTimes
=
processTimes
;
/**
}
* @param fileSize The fileSize to set.
*/
@Override
public
void
setFileSize
(
Long
fileSize
)
{
public
String
toString
()
{
this
.
fileSize
=
fileSize
;
return
"ConvertQueueDto [fileId="
+
fileId
+
", fromType="
+
fromType
+
", fileUrl="
+
fileUrl
+
", fileSize="
}
+
fileSize
+
", fileType="
+
fileType
+
", state="
+
state
+
", coverImg="
+
coverImg
+
", pilotUrl="
+
pilotUrl
+
"]"
;
public
int
getProcessTimes
()
{
}
return
processTimes
;
}
public
void
setProcessTimes
(
int
processTimes
)
{
this
.
processTimes
=
processTimes
;
}
@Override
public
String
toString
()
{
return
"ConvertQueueDto [fileId="
+
fileId
+
", fromType="
+
fromType
+
", fileUrl="
+
fileUrl
+
", fileSize="
+
fileSize
+
", fileType="
+
fileType
+
", state="
+
state
+
", coverImg="
+
coverImg
+
", pilotUrl="
+
pilotUrl
+
"]"
;
}
}
}
pcloud-common-core/src/main/java/com/pcloud/common/core/enums/TranscodeFromEnum.java
View file @
bec5df1d
...
@@ -37,7 +37,12 @@ public enum TranscodeFromEnum {
...
@@ -37,7 +37,12 @@ public enum TranscodeFromEnum {
/**
/**
* 直播
* 直播
*/
*/
LIVE_PPT
(
"LIVE_PPT"
);
LIVE_PPT
(
"LIVE_PPT"
),
/**
* 直播
*/
LIVE_HOMEWORD
(
"LIVE_HOMEWORD"
);
/**
/**
* 值
* 值
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment