- Touch if you dare.
+
+ Resizing your content will take additional resources on your server. If you wish to
+ optionally resize your output for this stream variant then you should either set the
+ width or the height to keep your aspect ratio.
+
+
+
+
+
+
+
{/* FRAME RATE FIELD */}
diff --git a/web/types/config-section.ts b/web/types/config-section.ts
index e85036397..05484c9df 100644
--- a/web/types/config-section.ts
+++ b/web/types/config-section.ts
@@ -56,6 +56,9 @@ export interface VideoVariant {
audioBitrate: number;
videoPassthrough: boolean;
videoBitrate: number;
+
+ scaledWidth: number;
+ scaledHeight: number;
}
export interface VideoSettingsFields {
latencyLevel: number;
diff --git a/web/utils/config-constants.tsx b/web/utils/config-constants.tsx
index 88223e727..bbca05014 100644
--- a/web/utils/config-constants.tsx
+++ b/web/utils/config-constants.tsx
@@ -168,6 +168,8 @@ export const DEFAULT_VARIANT_STATE: VideoVariant = {
audioPassthrough: true, // if false, then CAN set audiobitrate
audioBitrate: 0,
cpuUsageLevel: 3,
+ scaledHeight: null,
+ scaledWidth: null,
};
export const DEFAULT_SOCIAL_HANDLE: SocialHandle = {