add currentProcessing and errors to schema/index and getStreamMonitoringDetails operation

This commit is contained in:
Loewy 2024-05-14 18:35:24 -07:00
parent 231076496a
commit f8c5cf74f8
3 changed files with 47 additions and 0 deletions

View File

@ -425,6 +425,7 @@ export type VideoGql = {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
averageTimeBetweenShots?: Maybe<Scalars["Float"]["output"]>; averageTimeBetweenShots?: Maybe<Scalars["Float"]["output"]>;
createdAt?: Maybe<Scalars["DateTime"]["output"]>; createdAt?: Maybe<Scalars["DateTime"]["output"]>;
currentProcessing?: Maybe<VideoProcessingGql>;
elapsedTime?: Maybe<Scalars["Float"]["output"]>; elapsedTime?: Maybe<Scalars["Float"]["output"]>;
endTime?: Maybe<Scalars["DateTime"]["output"]>; endTime?: Maybe<Scalars["DateTime"]["output"]>;
framesPerSecond: Scalars["Float"]["output"]; framesPerSecond: Scalars["Float"]["output"];
@ -462,6 +463,18 @@ export type VideoMetadataInput = {
videoName?: InputMaybe<Scalars["String"]["input"]>; videoName?: InputMaybe<Scalars["String"]["input"]>;
}; };
export type VideoProcessingErrorGql = {
__typename?: "VideoProcessingErrorGQL";
endSegmentIndex?: Maybe<Scalars["Int"]["output"]>;
message: Scalars["String"]["output"];
startSegmentIndex?: Maybe<Scalars["Int"]["output"]>;
};
export type VideoProcessingGql = {
__typename?: "VideoProcessingGQL";
errors: Array<VideoProcessingErrorGql>;
};
export type VideoTag = { export type VideoTag = {
__typename?: "VideoTag"; __typename?: "VideoTag";
name: Scalars["String"]["output"]; name: Scalars["String"]["output"];
@ -717,6 +730,15 @@ export type GetStreamMonitoringDetailsQuery = {
uploadCompletionCursor: number; uploadCompletionCursor: number;
lastIntendedSegmentBound?: number | null; lastIntendedSegmentBound?: number | null;
} | 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 uploadCompletionCursor
lastIntendedSegmentBound lastIntendedSegmentBound
} }
currentProcessing {
errors {
message
startSegmentIndex
endSegmentIndex
}
}
} }
} }
`; `;

View File

@ -52,6 +52,13 @@ query GetStreamMonitoringDetails($videoId: Int!) {
uploadCompletionCursor uploadCompletionCursor
lastIntendedSegmentBound lastIntendedSegmentBound
} }
currentProcessing {
errors {
message
startSegmentIndex
endSegmentIndex
}
}
} }
} }

View File

@ -217,6 +217,7 @@ type VideoGQL {
playlist: HLSPlaylistGQL playlist: HLSPlaylistGQL
tags: [VideoTag!]! tags: [VideoTag!]!
homographyHistory: [HomographyInfoGQL!]! homographyHistory: [HomographyInfoGQL!]!
currentProcessing: VideoProcessingGQL
} }
type UploadStreamGQL { type UploadStreamGQL {
@ -292,6 +293,16 @@ type IntPoint2D {
y: Int! y: Int!
} }
type VideoProcessingGQL {
errors: [VideoProcessingErrorGQL!]!
}
type VideoProcessingErrorGQL {
message: String!
startSegmentIndex: Int
endSegmentIndex: Int
}
type PageInfoGQL { type PageInfoGQL {
hasNextPage: Boolean! hasNextPage: Boolean!
endCursor: String endCursor: String