Parameter to setSegmentDuration should be segmentIndex

This commit is contained in:
Ivan Malison 2024-07-16 20:20:17 -06:00
parent 80f609b8a2
commit bce363e8ff
2 changed files with 6 additions and 2 deletions

View File

@ -906,7 +906,7 @@ export type MutationSetLoggerLevelArgs = {
export type MutationSetSegmentDurationArgs = {
duration: Scalars["Float"]["input"];
segmentId: Scalars["Int"]["input"];
segmentIndex: Scalars["Int"]["input"];
videoId: Scalars["Int"]["input"];
};

View File

@ -365,7 +365,11 @@ type Mutation {
): CreateUploadStreamReturn!
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
getHlsInitUploadLink(videoId: Int!): GetUploadLinkReturn!
setSegmentDuration(videoId: Int!, segmentId: Int!, duration: Float!): Boolean!
setSegmentDuration(
videoId: Int!
segmentIndex: Int!
duration: Float!
): Boolean!
editUploadStream(videoId: Int!, videoMetadata: VideoMetadataInput!): Boolean!
deleteVideo(videoId: Int!): Boolean!
}