replace structuredClone which is not always present
This commit is contained in:
parent
90226f2689
commit
23fc1c667e
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "peertube-plugin-hardware-transcode-vaapi",
|
||||
"version": "0.2.8",
|
||||
"version": "0.2.9",
|
||||
"license": "MIT",
|
||||
"description": "Plugin that adds transcode profiles which use vaapi for hardware acceleration",
|
||||
"engine": {
|
||||
|
@ -26,7 +26,7 @@ interface PluginSettings {
|
||||
let pluginSettings : PluginSettings = {
|
||||
hardwareDecode: DEFAULT_HARDWARE_DECODE,
|
||||
quality: DEFAULT_QUALITY,
|
||||
baseBitrate: structuredClone(DEFAULT_BITRATES)
|
||||
baseBitrate: new Map(DEFAULT_BITRATES)
|
||||
}
|
||||
|
||||
let latestStreamNum = 9999
|
||||
|
Loading…
Reference in New Issue
Block a user