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! -}