From 0999c88797e515cc619c5afe774bebcc348ac925 Mon Sep 17 00:00:00 2001 From: Micah Weitzman Date: Thu, 18 Jul 2024 20:10:23 -0700 Subject: [PATCH] added resolution --- src/index.tsx | 2 +- src/schema.gql | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 6d2c6ae..c960438 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1170,7 +1170,7 @@ export type VideoMetadataInput = { framesPerSecond?: InputMaybe; gameType?: InputMaybe; lastIntendedSegmentBound?: InputMaybe; - resolution?: InputMaybe; + resolution: VideoResolution; startTime?: InputMaybe; streamSegmentType?: InputMaybe; tableSize?: InputMaybe; diff --git a/src/schema.gql b/src/schema.gql index 9a01233..a59fd8a 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -395,6 +395,7 @@ type CreateUploadStreamReturn { } input VideoMetadataInput { + resolution: VideoResolution! videoName: String = null startTime: DateTime = null endTime: DateTime = null @@ -404,10 +405,14 @@ input VideoMetadataInput { lastIntendedSegmentBound: Int = null streamSegmentType: StreamSegmentTypeEnum = null endStream: Boolean! = false - resolution: VideoResolution = null framesPerSecond: Float = null } +input VideoResolution { + width: Int! + height: Int! +} + input UploadStreamMetadataInput { deviceType: DeviceTypeEnum = null osVersion: String = null @@ -430,8 +435,3 @@ enum StreamSegmentTypeEnum { FRAGMENTED_MP4 RB_CHUNKED_MP4 } - -input VideoResolution { - width: Int! - height: Int! -} -- 2.46.1