diff --git a/src/index.tsx b/src/index.tsx index e10cf75..ccab474 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1265,6 +1265,7 @@ export type UploadStreamGql = { lastIntendedSegmentBound?: Maybe; linksRequested: Scalars["Int"]["output"]; lowestUnuploadedSegmentIndex: Scalars["Int"]["output"]; + resolution: VideoResolutionGql; segmentProcessingCursor: Scalars["Int"]["output"]; segments: Array; updatedAt: Scalars["DateTime"]["output"]; @@ -1368,6 +1369,12 @@ export type VideoResolution = { width: Scalars["Int"]["input"]; }; +export type VideoResolutionGql = { + __typename?: "VideoResolutionGQL"; + height?: Maybe; + width?: Maybe; +}; + export type VideoTag = { __typename?: "VideoTag"; name: Scalars["String"]["output"]; diff --git a/src/schema.gql b/src/schema.gql index befb332..9ec5512 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -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!