Add streamSegmentType to Stream

This commit is contained in:
Ivan Malison 2024-07-27 20:51:48 -06:00
parent 251ebe7056
commit 378878967a
3 changed files with 10 additions and 5 deletions

View File

@ -1268,6 +1268,7 @@ export type UploadStreamGql = {
resolution: VideoResolutionGql;
segmentProcessingCursor: Scalars["Int"]["output"];
segments: Array<UploadSegmentGql>;
streamSegmentType: StreamSegmentTypeEnum;
updatedAt: Scalars["DateTime"]["output"];
uploadCompletionCursor: Scalars["Int"]["output"];
uploadsCompleted: Scalars["Int"]["output"];
@ -1808,6 +1809,7 @@ export type GetVideoQuery = {
}>;
stream?: {
__typename?: "UploadStreamGQL";
streamSegmentType: StreamSegmentTypeEnum;
segments: Array<{
__typename?: "UploadSegmentGQL";
segmentIndex: number;
@ -3325,6 +3327,7 @@ export const GetVideoDocument = gql`
}
}
stream {
streamSegmentType
segments {
segmentIndex
endFrameIndex

View File

@ -179,6 +179,7 @@ query GetVideo($videoId: Int!) {
}
}
stream {
streamSegmentType
segments {
segmentIndex
endFrameIndex

View File

@ -274,6 +274,7 @@ type UploadStreamGQL {
updatedAt: DateTime!
segments: [UploadSegmentGQL!]!
resolution: VideoResolutionGQL!
streamSegmentType: StreamSegmentTypeEnum!
}
enum InitPlaylistUploadStatusEnum {
@ -301,6 +302,11 @@ type VideoResolutionGQL {
height: Int
}
enum StreamSegmentTypeEnum {
FRAGMENTED_MP4
RB_CHUNKED_MP4
}
type HLSPlaylistGQL {
videoId: Int!
m3u8Text: String!
@ -442,11 +448,6 @@ enum DeviceTypeEnum {
BROWSER
}
enum StreamSegmentTypeEnum {
FRAGMENTED_MP4
RB_CHUNKED_MP4
}
input VideoResolution {
width: Int!
height: Int!