added resolution
All checks were successful
Tests / Tests (pull_request) Successful in 15s

This commit is contained in:
Micah Weitzman 2024-07-18 20:10:23 -07:00
parent d3559ede21
commit 0999c88797
2 changed files with 7 additions and 7 deletions

View File

@ -1170,7 +1170,7 @@ export type VideoMetadataInput = {
framesPerSecond?: InputMaybe<Scalars["Float"]["input"]>; framesPerSecond?: InputMaybe<Scalars["Float"]["input"]>;
gameType?: InputMaybe<Scalars["String"]["input"]>; gameType?: InputMaybe<Scalars["String"]["input"]>;
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>; lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
resolution?: InputMaybe<VideoResolution>; resolution: VideoResolution;
startTime?: InputMaybe<Scalars["DateTime"]["input"]>; startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>; streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>;
tableSize?: InputMaybe<Scalars["String"]["input"]>; tableSize?: InputMaybe<Scalars["String"]["input"]>;

View File

@ -395,6 +395,7 @@ type CreateUploadStreamReturn {
} }
input VideoMetadataInput { input VideoMetadataInput {
resolution: VideoResolution!
videoName: String = null videoName: String = null
startTime: DateTime = null startTime: DateTime = null
endTime: DateTime = null endTime: DateTime = null
@ -404,10 +405,14 @@ input VideoMetadataInput {
lastIntendedSegmentBound: Int = null lastIntendedSegmentBound: Int = null
streamSegmentType: StreamSegmentTypeEnum = null streamSegmentType: StreamSegmentTypeEnum = null
endStream: Boolean! = false endStream: Boolean! = false
resolution: VideoResolution = null
framesPerSecond: Float = null framesPerSecond: Float = null
} }
input VideoResolution {
width: Int!
height: Int!
}
input UploadStreamMetadataInput { input UploadStreamMetadataInput {
deviceType: DeviceTypeEnum = null deviceType: DeviceTypeEnum = null
osVersion: String = null osVersion: String = null
@ -430,8 +435,3 @@ enum StreamSegmentTypeEnum {
FRAGMENTED_MP4 FRAGMENTED_MP4
RB_CHUNKED_MP4 RB_CHUNKED_MP4
} }
input VideoResolution {
width: Int!
height: Int!
}