Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
df7c4fc4
Commit
df7c4fc4
authored
Nov 12, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏视频修改
parent
6416a026
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
CommonVideoDto.java
.../com/yeejoin/amos/boot/biz/common/dto/CommonVideoDto.java
+8
-0
BaseEnterpriseVideoServiceImpl.java
...mmon/biz/service/impl/BaseEnterpriseVideoServiceImpl.java
+2
-1
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/dto/CommonVideoDto.java
View file @
df7c4fc4
...
...
@@ -31,5 +31,13 @@ public class CommonVideoDto {
@JsonIgnore
private
String
parent
;
/**
* 请判断播放端是否要求播放视频为H265编码格式,1表示需要,0表示不要求
*/
private
Integer
supportH265
;
/**
* 视频清晰度,1-高清(主码流)、2-流畅(子码流)
*/
private
Integer
quality
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/BaseEnterpriseVideoServiceImpl.java
View file @
df7c4fc4
...
...
@@ -64,7 +64,8 @@ public class BaseEnterpriseVideoServiceImpl extends BaseService<BaseEnterpriseVi
requestVideosInfo
.
put
(
"deviceSerial"
,
video
.
getDeviceSerial
());
requestVideosInfo
.
put
(
"channelNo"
,
channelNo
.
getKey
());
requestVideosInfo
.
put
(
"protocol"
,
video
.
getProtocol
());
requestVideosInfo
.
put
(
"quality"
,
2
);
requestVideosInfo
.
put
(
"quality"
,
channelNo
.
getQuality
());
requestVideosInfo
.
put
(
"supportH265"
,
channelNo
.
getSupportH265
());
requestVideosInfo
.
put
(
"expireTime"
,
video
.
getExpireTime
());
log
.
info
(
"开始获取通道信息:{}"
,
JSONObject
.
toJSONString
(
requestVideosInfo
));
String
videoData
=
HttpUtil
.
post
(
video
.
getUrl
(),
requestVideosInfo
);
...
...
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