owncast/web/pages/components/config
2021-01-24 13:05:43 -08:00
..
constants.tsx form fields for video config modal 2021-01-24 13:05:43 -08:00
edit-directory.tsx
edit-tags.tsx
form-textfield.tsx
form-toggleswitch.tsx
README.md
video-variant-form.tsx form fields for video config modal 2021-01-24 13:05:43 -08:00
video-variants-table.tsx form fields for video config modal 2021-01-24 13:05:43 -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,
      },
    ],
  }
};