Skip to content

Instantly share code, notes, and snippets.

@t3dotgg
Created January 21, 2022 22:27
Show Gist options
  • Save t3dotgg/e0e15793b22fee245ef623aa85e3929c to your computer and use it in GitHub Desktop.
Save t3dotgg/e0e15793b22fee245ef623aa85e3929c to your computer and use it in GitHub Desktop.
export const options: QualityOption[] = [
{
tag: "480p_30",
name: "480p 30fps",
configuration: {
width: 640,
height: 480,
frameRate: 30,
bitrateMin: 750,
bitrateMax: 1800,
},
},
{
tag: "720p_30",
name: "720p 30fps",
configuration: {
width: 1280,
height: 720,
frameRate: 30,
bitrateMin: 1024,
bitrateMax: 2500,
},
},
{
tag: "720p_60",
name: "720p 60fps",
configuration: {
width: 1280,
height: 720,
frameRate: 60,
bitrateMin: 1800,
bitrateMax: 4000,
},
},
{
tag: "1080p_30",
name: "1080p 30fps",
configuration: {
width: 1920,
height: 1080,
frameRate: 30,
bitrateMin: 1500,
bitrateMax: 4000,
},
},
{
tag: "1080p_60",
name: "1080p 60fps",
configuration: {
width: 1920,
height: 1080,
frameRate: 60,
bitrateMin: 3000,
bitrateMax: 7000,
},
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment