Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f49037

Browse files
committed
fix:修复地址主题切换播放异常问题,修复播放内存泄露问题
1 parent f0971a7 commit 8f49037

File tree

260 files changed

+292354
-1650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+292354
-1650
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
v 0.6.4
2+
3+
[fix]修复地址切换频繁多路流导致画面跳变问题
4+
5+
[fix]优化多线程版本单个页面创建多路视频播放性能及稳定性
6+
7+
[fix]修复多线程内存泄露问题
8+
9+
[fix]修复模板主题回放拖动声音被关闭,设备名称展示不全,全屏高度计算异常问题。
10+
111
v 0.6.3
212

313
[feta]支持模板内回放时间轴自定义设置拖动防抖间隔

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ themeData将主题数据本地化,设置本地数据,需要删除template参
388388

389389
#### 切换地址播放
390390

391-
> 可用于在播放中切换设备,切换播放参数,以及直播切换回放等
391+
> 可用于在播放中切换设备,切换播放参数,以及直播切换回放等。请注意,频繁切换可能导致异常,切换间隔至少需要1秒
392392
393393
```
394394
player.changePlayUrl(options)
@@ -413,17 +413,18 @@ options参数说明
413413

414414

415415
#### 切换模板主题
416-
> 可用于在播放中切换模板主题,同切换播放地址一起调用
416+
> 可用于在播放中切换模板主题,请切换播放地址成功后调用
417417
418418
```
419419
player.Theme.changeTheme(template)
420-
.then(()=>{
421-
console.log("切换成功")
422-
});
423420
424421
// 预览切回放场景示例
425422
player.changePlayUrl({type:"rec"});
426-
player.Theme.changeTheme("pcRec");
423+
.then(()=>{
424+
console.log("地址切换成功,开始切换模板主题");
425+
player.Theme.changeTheme("pcRec");
426+
});
427+
427428
428429
```
429430
template参数说明

demos/base-demo/ezuikit.js

Lines changed: 725 additions & 547 deletions
Large diffs are not rendered by default.
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
.footer-controls .theme-icon-item {
2+
margin: 0 1%;
3+
}
4+
.footer-controls.themeEditing .theme-icon-item {
5+
position: relative;
6+
/* margin: 0 8px; */
7+
}
8+
.footer-controls .footer-controls-left{
9+
margin-left: 12px;
10+
}
11+
.footer-controls.themeEditing .footer-controls-left .theme-icon-item {
12+
/* margin-left: 12px; */
13+
}
14+
.footer-controls.themeEditing .footer-controls-right .theme-icon-item {
15+
/* margin-right: 12px; */
16+
}
17+
.footer-controls .theme-icon-item .icon-move {
18+
display: none;
19+
}
20+
.footer-controls.themeEditing .theme-icon-item:hover .icon-move {
21+
display: block;
22+
}
23+
.footer-controls.themeEditing .footer-controls-left .theme-icon-item:first-child .icon-move.left{
24+
display: none;
25+
}
26+
.footer-controls.themeEditing .footer-controls-left .theme-icon-item:nth-last-child(1) .icon-move.right{
27+
display: none;
28+
}
29+
.footer-controls .footer-controls-right {
30+
margin-right: 12px;
31+
}
32+
33+
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:first-child .icon-move.left{
34+
display: none;
35+
}
36+
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:nth-last-child(1) .icon-move.right{
37+
display: none;
38+
}
39+
40+
.header-controls .theme-icon-item {
41+
margin: 0 1%;
42+
}
43+
.header-controls.themeEditing .theme-icon-item {
44+
position: relative;
45+
/* margin: 0 8px; */
46+
}
47+
.header-controls.themeEditing .header-controls-left {
48+
margin-left: 12px;
49+
}
50+
.header-controls.themeEditing .header-controls-right {
51+
margin-right: 12px;
52+
}
53+
.header-controls .theme-icon-item .icon-move {
54+
display: none;
55+
}
56+
.header-controls.themeEditing .theme-icon-item:hover .icon-move {
57+
display: block;
58+
}
59+
.header-controls.themeEditing .header-controls-left .theme-icon-item:first-child .icon-move.left{
60+
display: none;
61+
}
62+
.header-controls.themeEditing .header-controls-left .theme-icon-item:nth-last-child(1) .icon-move.right{
63+
display: none;
64+
}
65+
66+
.header-controls.themeEditing .header-controls-right .theme-icon-item:first-child .icon-move.left{
67+
display: none;
68+
}
69+
.header-controls.themeEditing .header-controls-right .theme-icon-item:nth-last-child(1) .icon-move.right{
70+
display: none;
71+
}
72+
73+
74+
.time-area {
75+
position: absolute;
76+
color: #FFFFFF;
77+
width: 68px;
78+
height: 24px;
79+
line-height: 24px;
80+
background: #00000050;
81+
border-radius: 12px;
82+
display: none;
83+
align-content: center;
84+
left: calc(50% - 34px);
85+
top: -30px;
86+
align-items: center;
87+
justify-content: space-around;
88+
padding-left: 4px;
89+
z-index: 9999999;
90+
91+
}
92+
.time-area .dot {
93+
display: inline-block;
94+
width: 8px;
95+
height: 8px;
96+
background: red;
97+
border-radius: 100%;
98+
margin: 0 4px 1px 4px;
99+
}
100+
101+
102+
/* .footer-controls.themeEditing .theme-icon-item {
103+
position: relative;
104+
margin: 0 8px;
105+
}
106+
.footer-controls.themeEditing .footer-controls-left .theme-icon-item:nth-child(1) .ezuikit-theme-icon >span:first-child{
107+
display: none!important;
108+
}
109+
.footer-controls.themeEditing .footer-controls-left .theme-icon-item:nth-last-child(2) .ezuikit-theme-icon >span:nth-child(3){
110+
display: none!important;
111+
}
112+
113+
.footer-controls.themeEditing .theme-icon-item:hover .ezuikit-theme-icon {
114+
display: block!important;
115+
}
116+
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:nth-child(1) .ezuikit-theme-icon >span:first-child{
117+
display: none!important;
118+
}
119+
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:nth-last-child(1) .ezuikit-theme-icon >span:nth-child(3){
120+
display: none!important;
121+
} */

demos/base-demo/ezuikit_static/v64/v1/js/AudioRenderer.js

Lines changed: 225 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)