diff --git a/src/index.tsx b/src/index.tsx index e6e7c10..66e4aa2 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -425,6 +425,7 @@ export type VideoGql = { __typename?: "VideoGQL"; averageTimeBetweenShots?: Maybe; createdAt?: Maybe; + currentProcessing?: Maybe; elapsedTime?: Maybe; endTime?: Maybe; framesPerSecond: Scalars["Float"]["output"]; @@ -462,6 +463,18 @@ export type VideoMetadataInput = { videoName?: InputMaybe; }; +export type VideoProcessingErrorGql = { + __typename?: "VideoProcessingErrorGQL"; + endSegmentIndex?: Maybe; + message: Scalars["String"]["output"]; + startSegmentIndex?: Maybe; +}; + +export type VideoProcessingGql = { + __typename?: "VideoProcessingGQL"; + errors: Array; +}; + export type VideoTag = { __typename?: "VideoTag"; name: Scalars["String"]["output"]; @@ -717,6 +730,15 @@ export type GetStreamMonitoringDetailsQuery = { uploadCompletionCursor: number; lastIntendedSegmentBound?: number | null; } | null; + currentProcessing?: { + __typename?: "VideoProcessingGQL"; + errors: Array<{ + __typename?: "VideoProcessingErrorGQL"; + message: string; + startSegmentIndex?: number | null; + endSegmentIndex?: number | null; + }>; + } | null; }; }; @@ -1647,6 +1669,13 @@ export const GetStreamMonitoringDetailsDocument = gql` uploadCompletionCursor lastIntendedSegmentBound } + currentProcessing { + errors { + message + startSegmentIndex + endSegmentIndex + } + } } } `; diff --git a/src/operations/video.gql b/src/operations/video.gql index d8f6ffa..cb640f2 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -52,6 +52,13 @@ query GetStreamMonitoringDetails($videoId: Int!) { uploadCompletionCursor lastIntendedSegmentBound } + currentProcessing { + errors { + message + startSegmentIndex + endSegmentIndex + } + } } } diff --git a/src/schema.gql b/src/schema.gql index 0c39be2..08ddf9b 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -217,6 +217,7 @@ type VideoGQL { playlist: HLSPlaylistGQL tags: [VideoTag!]! homographyHistory: [HomographyInfoGQL!]! + currentProcessing: VideoProcessingGQL } type UploadStreamGQL { @@ -292,6 +293,16 @@ type IntPoint2D { y: Int! } +type VideoProcessingGQL { + errors: [VideoProcessingErrorGQL!]! +} + +type VideoProcessingErrorGQL { + message: String! + startSegmentIndex: Int + endSegmentIndex: Int +} + type PageInfoGQL { hasNextPage: Boolean! endCursor: String