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

View File

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