owncast/web/pages/components/config
2021-01-24 13:06:26 -08:00
..
constants.tsx edit and update social links in modal 2021-01-24 13:06:26 -08:00
edit-directory.tsx start video variant page; setup video variant table for modals wip; use dark theme as default 2021-01-24 13:05:43 -08:00
edit-tags.tsx clean up and style tweaks 2021-01-24 13:05:43 -08:00
form-textfield.tsx Throw a stream title input on the dashboard 2021-01-24 13:06:26 -08:00
form-toggleswitch.tsx clean up and style tweaks 2021-01-24 13:05:43 -08:00
README.md - start a README to document config admin later 2021-01-24 13:05:43 -08:00
social-icons-dropdown.tsx edit and update social links in modal 2021-01-24 13:06:26 -08:00
video-latency.tsx rename form 2021-01-24 13:06:05 -08:00
video-variant-form.tsx cleanup 2021-01-24 13:06:05 -08:00
video-variants-table.tsx add delete variant button 2021-01-24 13:06:05 -08:00

Config

TODO: explain how to use

and how the custom form-xxxx components work together.

Misc notes

  • instanceDetails needs to be filled out before yp.enabled can be turned on.

Config data structure (with default values)

{
  streamKey: '',
  instanceDetails: {
    tags: [],
    nsfw: false,
  },
  yp: {
    enabled: false,
    instance: '',
  },
  videoSettings: {
    videoQualityVariants: [
      {
        audioPassthrough: false,
        videoPassthrough: false,
        videoBitrate: 0,
        audioBitrate: 0,
        framerate: 0,
      },
    ],
  }
};