停用本地图像存储(BUG

This commit is contained in:
2023-10-17 17:00:10 +08:00
parent d142d3a613
commit 488d6d9c7c
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ export default class ClientList {
],
iceCandidatePoolSize: 10, // 限制 ICE 候选者的数量
iceTransportPolicy: 'all', // 使用所有可用的候选者
bundlePolicy: 'balanced', // 每種類型的內容建立一個單獨的傳輸
bundlePolicy: 'max-bundle',// 将所有媒体流捆绑在一起,以最大程度地提高性能和减少延迟
})
webrtc.ondatachannel = ({ channel }) => {
console.debug(data.name, '建立', channel.label, '数据通道')

View File

@ -18,9 +18,9 @@ function appendBuffer(buffer1, buffer2) {
return tmp.buffer
}
// 读取本地图像
const imageStore = new IndexedDB('musicDatabase', 1, 'imageObjectStore')
await imageStore.open()
//// 读取本地图像
//const imageStore = new IndexedDB('musicDatabase', 1, 'imageObjectStore')
//await imageStore.open()
// 读取本地音乐列表并标识为缓存状态(本地缓存)
const musicStore = new IndexedDB('musicDatabase', 1, 'musicObjectStore')