Move segment start times

This commit is contained in:
Ivan Malison 2024-10-16 18:52:18 -06:00
parent ae97f956b3
commit 19a63b9d19
3 changed files with 13 additions and 10 deletions

View File

@ -7,6 +7,9 @@ extend type ShotGQL {
}
extend type UploadStreamGQL {
segmentDurations: [Float!]!
segmentStartFrames: [Int!]!
segmentEndFrames: [Int!]!
}
extend type HLSPlaylistGQL {
segmentStartTimes: [Float!]!
}

View File

@ -1677,6 +1677,7 @@ export type HlsPlaylistGql = {
__typename?: "HLSPlaylistGQL";
m3u8Text: Scalars["String"]["output"];
segmentDurations: Array<Scalars["Float"]["output"]>;
segmentStartTimes: Array<Scalars["Float"]["output"]>;
videoId: Scalars["Int"]["output"];
};
@ -2164,9 +2165,8 @@ export type UploadStreamGql = {
linksRequested: Scalars["Int"]["output"];
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
resolution: VideoResolutionGql;
segmentDurations: Array<Scalars["Float"]["output"]>;
segmentEndFrames: Array<Scalars["Int"]["output"]>;
segmentProcessingCursor: Scalars["Int"]["output"];
segmentStartFrames: Array<Scalars["Int"]["output"]>;
segments: Array<UploadSegmentGql>;
streamSegmentType: StreamSegmentTypeEnum;
updatedAt: Scalars["DateTime"]["output"];
@ -3114,13 +3114,13 @@ export type GetVideoForClipTimesQuery = {
playlist?: {
__typename?: "HLSPlaylistGQL";
segmentDurations: Array<number>;
segmentStartTimes: Array<number>;
} | null;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
segmentDurations: Array<number>;
segmentStartFrames: Array<number>;
segmentEndFrames: Array<number>;
segments: Array<{
__typename?: "UploadSegmentGQL";
uploaded: boolean;
@ -5495,12 +5495,12 @@ export const GetVideoForClipTimesDocument = gql`
framesPerSecond
playlist {
segmentDurations
segmentStartTimes
}
stream {
id
streamSegmentType
segmentDurations
segmentStartFrames
segmentEndFrames
segments {
uploaded
valid

View File

@ -235,12 +235,12 @@ query GetVideoForClipTimes($videoId: Int!) {
framesPerSecond
playlist {
segmentDurations
segmentStartTimes
}
stream {
id
streamSegmentType
segmentDurations
segmentStartFrames
segmentEndFrames
segments {
uploaded
valid