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",
|
"name": "peertube-plugin-hardware-transcode-vaapi",
|
||||||
"version": "0.2.8",
|
"version": "0.2.9",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "Plugin that adds transcode profiles which use vaapi for hardware acceleration",
|
"description": "Plugin that adds transcode profiles which use vaapi for hardware acceleration",
|
||||||
"engine": {
|
"engine": {
|
||||||
|
@ -26,7 +26,7 @@ interface PluginSettings {
|
|||||||
let pluginSettings : PluginSettings = {
|
let pluginSettings : PluginSettings = {
|
||||||
hardwareDecode: DEFAULT_HARDWARE_DECODE,
|
hardwareDecode: DEFAULT_HARDWARE_DECODE,
|
||||||
quality: DEFAULT_QUALITY,
|
quality: DEFAULT_QUALITY,
|
||||||
baseBitrate: structuredClone(DEFAULT_BITRATES)
|
baseBitrate: new Map(DEFAULT_BITRATES)
|
||||||
}
|
}
|
||||||
|
|
||||||
let latestStreamNum = 9999
|
let latestStreamNum = 9999
|
||||||
|
Loading…
Reference in New Issue
Block a user