added resolution #22

Closed
micah_weitzman wants to merge 1 commits from micah/add-resolution into master
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!
}