> ## Documentation Index
> Fetch the complete documentation index at: https://omss.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# BaseSource

## Properties

<ResponseField name={"header"} type={"Record<string, string>"} required>
  Key-value pairs of HTTP (and non-standard HTTP) headers that should be included when accessing the source URL.
</ResponseField>

<ResponseField name={"provider"} type={"{ id: string; name: string }"} required>
  Information on the provider that provided this source.
</ResponseField>

<ResponseField name={"quality"} type={"SourceQuality"} required>
  Video quality. One of 8K, 4K, QHD, FHD, HD, SD, or Auto: Quality should be inferred from the best available metadata, prioritizing resolution, then bitrate, filename, or manifest information. If the quality cannot be determined, use Auto.

  The ranges are like following:
  4320p+ → 8K
  2160p–4319p → 4K
  1440p–2159p → QHD
  1080p–1439p → FHD
  720p–1079p → HD
  Below 720p → SD
  Unknown → Auto
</ResponseField>

<ResponseField name={"streamable"} type={"boolean"} required>
  Indicates if the source is streamable (true) or a direct download link (false). If false, clients must treat the URL as a download link rather than a streaming source. Download links CANNOT be used as streaming sources.
</ResponseField>

<ResponseField name={"type"} type={"SourceTypes"} required>
  Source type, one of:
  hls — HTTP Live Streaming (M3U8).
  mp4 — MP4 file.
  mkv — MKV file.
  dash — MPEG-DASH (.mpd files).
</ResponseField>

<ResponseField name={"url"} type={"string"} required>
  A string representing the original URL to the streaming source from the provider, which may require CORS handling or custom headers (provided in the headers field).
</ResponseField>


## Related topics

- [BaseProvider](/sdk-artifacts/classes/BaseProvider.md)
- [BaseResolver](/sdk-artifacts/classes/BaseResolver.md)
- [OMSS v1.1 Specification](/spec/latest/ref/spec.md)
