Create get videos with playlist gql

This commit is contained in:
2024-04-22 16:18:06 -06:00
parent 24fcac9318
commit 5181612f62
3 changed files with 88 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ type Query {
filters: VideoFilterInput = null
): VideoHistoryGQL!
getVideo(videoId: Int!): VideoGQL!
getVideos(videoIds: [Int!]!): [VideoGQL!]!
}
type AggregateResultGQL {
@@ -207,6 +208,7 @@ type VideoGQL {
elapsedTime: Float
framesPerSecond: Int!
stream: UploadStreamGQL
playlist: HLSPlaylistGQL
tags: [VideoTag!]!
homographyHistory: [HomographyInfoGQL!]!
}
@@ -227,6 +229,12 @@ type StreamErrorGQL {
message: String!
}
type HLSPlaylistGQL {
videoId: Int!
m3u8Text: String!
segmentDurations: [Float!]!
}
type VideoTag {
tagClasses: [VideoTagClass!]!
name: String!