Expand GQL Interfaces To Accomodate Multiple Stream Types
All checks were successful
Tests / Tests (pull_request) Successful in 8s
All checks were successful
Tests / Tests (pull_request) Successful in 8s
This commit is contained in:
parent
88801f9186
commit
7bdcaf2e5e
@ -617,9 +617,11 @@ export type Mutation = {
|
|||||||
deleteVideo: Scalars["Boolean"]["output"];
|
deleteVideo: Scalars["Boolean"]["output"];
|
||||||
editProfileImageUri: UserGql;
|
editProfileImageUri: UserGql;
|
||||||
editUploadStream: Scalars["Boolean"]["output"];
|
editUploadStream: Scalars["Boolean"]["output"];
|
||||||
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
||||||
getProfileImageUploadLink: GetUploadLinkReturn;
|
getProfileImageUploadLink: GetUploadLinkReturn;
|
||||||
getUploadLink: GetUploadLinkReturn;
|
getUploadLink: GetUploadLinkReturn;
|
||||||
setLoggerLevel: Scalars["Boolean"]["output"];
|
setLoggerLevel: Scalars["Boolean"]["output"];
|
||||||
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type MutationCreateBucketSetArgs = {
|
export type MutationCreateBucketSetArgs = {
|
||||||
@ -643,6 +645,10 @@ export type MutationEditUploadStreamArgs = {
|
|||||||
videoMetadata: VideoMetadataInput;
|
videoMetadata: VideoMetadataInput;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationGetHlsInitUploadLinkArgs = {
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationGetProfileImageUploadLinkArgs = {
|
export type MutationGetProfileImageUploadLinkArgs = {
|
||||||
fileExt?: InputMaybe<Scalars["String"]["input"]>;
|
fileExt?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
};
|
};
|
||||||
@ -657,6 +663,12 @@ export type MutationSetLoggerLevelArgs = {
|
|||||||
path: Scalars["String"]["input"];
|
path: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationSetSegmentDurationArgs = {
|
||||||
|
duration: Scalars["Float"]["input"];
|
||||||
|
segmentId: Scalars["Int"]["input"];
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type PageInfoGql = {
|
export type PageInfoGql = {
|
||||||
__typename?: "PageInfoGQL";
|
__typename?: "PageInfoGQL";
|
||||||
endCursor?: Maybe<Scalars["String"]["output"]>;
|
endCursor?: Maybe<Scalars["String"]["output"]>;
|
||||||
@ -788,6 +800,11 @@ export type StreamErrorGql = {
|
|||||||
message: Scalars["String"]["output"];
|
message: Scalars["String"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum StreamSegmentTypeEnum {
|
||||||
|
FragmentedMp4 = "FRAGMENTED_MP4",
|
||||||
|
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
||||||
|
}
|
||||||
|
|
||||||
export type TargetMetricsGql = {
|
export type TargetMetricsGql = {
|
||||||
__typename?: "TargetMetricsGQL";
|
__typename?: "TargetMetricsGQL";
|
||||||
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
||||||
@ -892,6 +909,7 @@ export type VideoMetadataInput = {
|
|||||||
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
|
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||||
|
streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>;
|
||||||
tableSize?: InputMaybe<Scalars["String"]["input"]>;
|
tableSize?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
uploadStreamMetadataInput?: InputMaybe<UploadStreamMetadataInput>;
|
uploadStreamMetadataInput?: InputMaybe<UploadStreamMetadataInput>;
|
||||||
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
|
@ -336,6 +336,8 @@ type Mutation {
|
|||||||
videoMetadata: VideoMetadataInput!
|
videoMetadata: VideoMetadataInput!
|
||||||
): CreateUploadStreamReturn!
|
): CreateUploadStreamReturn!
|
||||||
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
|
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
|
||||||
|
getHlsInitUploadLink(videoId: Int!): GetUploadLinkReturn!
|
||||||
|
setSegmentDuration(videoId: Int!, segmentId: Int!, duration: Float!): Boolean!
|
||||||
editUploadStream(videoId: Int!, videoMetadata: VideoMetadataInput!): Boolean!
|
editUploadStream(videoId: Int!, videoMetadata: VideoMetadataInput!): Boolean!
|
||||||
deleteVideo(videoId: Int!): Boolean!
|
deleteVideo(videoId: Int!): Boolean!
|
||||||
}
|
}
|
||||||
@ -368,6 +370,7 @@ input VideoMetadataInput {
|
|||||||
tableSize: String = null
|
tableSize: String = null
|
||||||
uploadStreamMetadataInput: UploadStreamMetadataInput = null
|
uploadStreamMetadataInput: UploadStreamMetadataInput = null
|
||||||
lastIntendedSegmentBound: Int = null
|
lastIntendedSegmentBound: Int = null
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum = null
|
||||||
endStream: Boolean! = false
|
endStream: Boolean! = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -388,3 +391,8 @@ enum DeviceTypeEnum {
|
|||||||
ANDROID
|
ANDROID
|
||||||
BROWSER
|
BROWSER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum StreamSegmentTypeEnum {
|
||||||
|
FRAGMENTED_MP4
|
||||||
|
RB_CHUNKED_MP4
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user