Commit 3c540f73 by 李乾广

Merge branch 'qxh-master' of http://git.keliuyun.com:55676/jiaxiuc123/miniProject into qxh-master

2 parents c2cb1096 8fd70ca5
......@@ -194,7 +194,7 @@ export default {
return Promise.resolve(true);
}
},
screenshot(filename = '', format = 'png', quality = 0.92, type = 'base64') {
screenshot(filename = '', format = 'jpeg', quality = 0.2, type = 'base64') {
return new Promise((resolve, reject) => {
// 如果是播放状态
const isPlaying = this._jessibuca.isPlaying();
......@@ -226,7 +226,7 @@ export default {
image.src = this._jessibuca.screenshot(filename, format, quality, type);
});
},
screenshotOrigin(filename = '', format = 'png', quality = 0.92, type = 'base64') {
screenshotOrigin(filename = '', format = 'jpeg', quality = 0.2, type = 'base64') {
return this._jessibuca.screenshot(filename, format, quality, type);
}
},
......
......@@ -50,6 +50,7 @@ export default {
base64Url: '',
// 播放器相关
// playUrl: 'https://rtmp01open.ys7.com:9188/v3/openlive/F16423875_4_1.flv?expire=1695696850&id=626370860302729216&t=8c5be77f3d74149d2cdb93f913baf0c171bc33f8d6b6507510e8869b3392a4da&ev=100&supportH265=1',
playUrl: '',
recordUrl: '',
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!