Expose resolution

This commit is contained in:
Ivan Malison 2024-07-25 18:18:16 -06:00
parent c48512fc45
commit a4f602d651
2 changed files with 13 additions and 0 deletions

View File

@ -1265,6 +1265,7 @@ export type UploadStreamGql = {
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
linksRequested: Scalars["Int"]["output"];
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
resolution: VideoResolutionGql;
segmentProcessingCursor: Scalars["Int"]["output"];
segments: Array<UploadSegmentGql>;
updatedAt: Scalars["DateTime"]["output"];
@ -1368,6 +1369,12 @@ export type VideoResolution = {
width: Scalars["Int"]["input"];
};
export type VideoResolutionGql = {
__typename?: "VideoResolutionGQL";
height?: Maybe<Scalars["Int"]["output"]>;
width?: Maybe<Scalars["Int"]["output"]>;
};
export type VideoTag = {
__typename?: "VideoTag";
name: Scalars["String"]["output"];

View File

@ -273,6 +273,7 @@ type UploadStreamGQL {
createdAt: DateTime!
updatedAt: DateTime!
segments: [UploadSegmentGQL!]!
resolution: VideoResolutionGQL!
}
enum InitPlaylistUploadStatusEnum {
@ -295,6 +296,11 @@ type UploadSegmentGQL {
linksRequested: Int!
}
type VideoResolutionGQL {
width: Int
height: Int
}
type HLSPlaylistGQL {
videoId: Int!
m3u8Text: String!