We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
测试时,我才用四分屏,每个屏幕都绑定了一个 new window.Jessibuca(...)对象,配置都一样,同时播放四路视频,然后全部关闭视频 for (var i = 0; i < 4; i++) { var this_jessibuca = jessibucaObj[i]; /*console.log("player:",player);*/ if (this_jessibuca != null) { //this_jessibuca.pause(); this_jessibuca.close(); this_jessibuca.clearView(); } } 该功能会出现问题,存在部分屏幕还原到黑屏状态,部分仍然存在视频停止后的画面图片; 我目前的解决办法是加入了延迟,并多调用几次。 `for (var i = 0; i < 4; i++) { var this_jessibuca = jessibucaObj[i]; /console.log("player:",player);/ if (this_jessibuca != null) { //this_jessibuca.pause(); this_jessibuca.close(); this_jessibuca.clearView(); setTimeout((_obj,time)=>{ _obj.close(); setTimeout((obj)=>{ obj.clearView(); },time,_obj); },1000 + 20*i,this_jessibuca,150 * i);
new window.Jessibuca(...)
for (var i = 0; i < 4; i++) { var this_jessibuca = jessibucaObj[i]; /*console.log("player:",player);*/ if (this_jessibuca != null) { //this_jessibuca.pause(); this_jessibuca.close(); this_jessibuca.clearView(); } }
}
}` 但任然无法解决这个问题,多尝试几次还会存在无法全部关闭的效果;
The text was updated successfully, but these errors were encountered:
@yu1183688986 把离线渲染(forceNoOffscreen)关闭就可以了。
Sorry, something went wrong.
这个问题的配置中forceNoOffscreen这个参数我配置的是true了。
@yu1183688986 设置为false就行了。
No branches or pull requests
测试时,我才用四分屏,每个屏幕都绑定了一个
new window.Jessibuca(...)
对象,配置都一样,同时播放四路视频,然后全部关闭视频for (var i = 0; i < 4; i++) { var this_jessibuca = jessibucaObj[i]; /*console.log("player:",player);*/ if (this_jessibuca != null) { //this_jessibuca.pause(); this_jessibuca.close(); this_jessibuca.clearView(); } }
该功能会出现问题,存在部分屏幕还原到黑屏状态,部分仍然存在视频停止后的画面图片;
我目前的解决办法是加入了延迟,并多调用几次。
`for (var i = 0; i < 4; i++) {
var this_jessibuca = jessibucaObj[i];
/console.log("player:",player);/
if (this_jessibuca != null) {
//this_jessibuca.pause();
this_jessibuca.close();
this_jessibuca.clearView();
setTimeout((_obj,time)=>{
_obj.close();
setTimeout((obj)=>{
obj.clearView();
},time,_obj);
},1000 + 20*i,this_jessibuca,150 * i);
}`
但任然无法解决这个问题,多尝试几次还会存在无法全部关闭的效果;
The text was updated successfully, but these errors were encountered: