diff --git a/src/misc/controls/Preview.js b/src/misc/controls/Preview.js index 1078b66..580537e 100644 --- a/src/misc/controls/Preview.js +++ b/src/misc/controls/Preview.js @@ -47,7 +47,7 @@ export default function Control(props) { Enable browser-compatible H.264 stream} checked={settings.enable} onChange={handleChange('enable')} /> - Video Codec} value={settings.video_encoder} disabled={!settings.enable} onChange={handleChange('video_encoder')}> H.264 (libx264) @@ -77,5 +77,6 @@ export default function Control(props) { Control.defaulProps = { settings: {}, + encoders: [], onChange: function (settings, automatic) {}, };