Type alias TrackEncoding

TrackEncoding: "l" | "m" | "h"

Type describing possible track encodings.

  • "h" - original encoding
  • "m" - original encoding scaled down by 2
  • "l" - original encoding scaled down by 4

Notice that to make all encodings work, the initial resolution has to be at least 1280x720. In other case, browser might not be able to scale some encodings down.