Add upload to video gql
This commit is contained in:
parent
527113a099
commit
2f92820895
@ -358,6 +358,17 @@ export type TargetMetricsGql = {
|
||||
makePercentage?: Maybe<Scalars["Float"]["output"]>;
|
||||
};
|
||||
|
||||
export type UploadSegmentGql = {
|
||||
__typename?: "UploadSegmentGQL";
|
||||
durationsInSeconds?: Maybe<Scalars["Float"]["output"]>;
|
||||
endFrameIndex?: Maybe<Scalars["Int"]["output"]>;
|
||||
framesPerSecond?: Maybe<Scalars["Float"]["output"]>;
|
||||
linksRequested: Scalars["Int"]["output"];
|
||||
segmentIndex: Scalars["Int"]["output"];
|
||||
uploaded: Scalars["Boolean"]["output"];
|
||||
valid: Scalars["Boolean"]["output"];
|
||||
};
|
||||
|
||||
export type UploadStreamGql = {
|
||||
__typename?: "UploadStreamGQL";
|
||||
createdAt: Scalars["DateTime"]["output"];
|
||||
@ -369,6 +380,7 @@ export type UploadStreamGql = {
|
||||
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
||||
segmentProcessingCursor: Scalars["Int"]["output"];
|
||||
updatedAt: Scalars["DateTime"]["output"];
|
||||
uploadSegments: Array<UploadSegmentGql>;
|
||||
uploadsCompleted: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
|
@ -227,12 +227,23 @@ type UploadStreamGQL {
|
||||
errors: [StreamErrorGQL!]!
|
||||
createdAt: DateTime!
|
||||
updatedAt: DateTime!
|
||||
uploadSegments: [UploadSegmentGQL!]!
|
||||
}
|
||||
|
||||
type StreamErrorGQL {
|
||||
message: String!
|
||||
}
|
||||
|
||||
type UploadSegmentGQL {
|
||||
segmentIndex: Int!
|
||||
uploaded: Boolean!
|
||||
valid: Boolean!
|
||||
endFrameIndex: Int
|
||||
framesPerSecond: Float
|
||||
durationsInSeconds: Float
|
||||
linksRequested: Int!
|
||||
}
|
||||
|
||||
type HLSPlaylistGQL {
|
||||
videoId: Int!
|
||||
m3u8Text: String!
|
||||
|
Loading…
Reference in New Issue
Block a user