From eaeb1ed0ea6d3610015887fca686d4f0c8383663 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 18 Jul 2024 01:14:18 -0600 Subject: [PATCH] Add resolution --- src/index.tsx | 6 ++++++ src/schema.gql | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index f43b9c8..a1c934f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1169,6 +1169,7 @@ export type VideoMetadataInput = { endTime?: InputMaybe; gameType?: InputMaybe; lastIntendedSegmentBound?: InputMaybe; + resolution?: InputMaybe; startTime?: InputMaybe; streamSegmentType?: InputMaybe; tableSize?: InputMaybe; @@ -1188,6 +1189,11 @@ export type VideoProcessingGql = { errors: Array; }; +export type VideoResolution = { + height: Scalars["Int"]["input"]; + width: Scalars["Int"]["input"]; +}; + export type VideoTag = { __typename?: "VideoTag"; name: Scalars["String"]["output"]; diff --git a/src/schema.gql b/src/schema.gql index 74e1f0d..83e5233 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -404,6 +404,7 @@ input VideoMetadataInput { lastIntendedSegmentBound: Int = null streamSegmentType: StreamSegmentTypeEnum = null endStream: Boolean! = false + resolution: VideoResolution = null } input UploadStreamMetadataInput { @@ -428,3 +429,8 @@ enum StreamSegmentTypeEnum { FRAGMENTED_MP4 RB_CHUNKED_MP4 } + +input VideoResolution { + width: Int! + height: Int! +}