Merge pull request 'Expand GQL Interfaces To Accomodate Multiple Stream Types' (#16) from mk/extend-to-additional-stream-types into master
Reviewed-on: #16
This commit is contained in:
commit
d743ad83e3
@ -852,9 +852,11 @@ export type Mutation = {
|
||||
deleteVideo: Scalars["Boolean"]["output"];
|
||||
editProfileImageUri: UserGql;
|
||||
editUploadStream: Scalars["Boolean"]["output"];
|
||||
getHlsInitUploadLink: GetUploadLinkReturn;
|
||||
getProfileImageUploadLink: GetUploadLinkReturn;
|
||||
getUploadLink: GetUploadLinkReturn;
|
||||
setLoggerLevel: Scalars["Boolean"]["output"];
|
||||
setSegmentDuration: Scalars["Boolean"]["output"];
|
||||
};
|
||||
|
||||
export type MutationCreateBucketSetArgs = {
|
||||
@ -878,6 +880,10 @@ export type MutationEditUploadStreamArgs = {
|
||||
videoMetadata: VideoMetadataInput;
|
||||
};
|
||||
|
||||
export type MutationGetHlsInitUploadLinkArgs = {
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationGetProfileImageUploadLinkArgs = {
|
||||
fileExt?: InputMaybe<Scalars["String"]["input"]>;
|
||||
};
|
||||
@ -892,6 +898,12 @@ export type MutationSetLoggerLevelArgs = {
|
||||
path: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type MutationSetSegmentDurationArgs = {
|
||||
duration: Scalars["Float"]["input"];
|
||||
segmentId: Scalars["Int"]["input"];
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type PageInfoGql = {
|
||||
__typename?: "PageInfoGQL";
|
||||
endCursor?: Maybe<Scalars["String"]["output"]>;
|
||||
@ -1023,6 +1035,11 @@ export type StreamErrorGql = {
|
||||
message: Scalars["String"]["output"];
|
||||
};
|
||||
|
||||
export enum StreamSegmentTypeEnum {
|
||||
FragmentedMp4 = "FRAGMENTED_MP4",
|
||||
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
||||
}
|
||||
|
||||
export type TargetMetricsGql = {
|
||||
__typename?: "TargetMetricsGQL";
|
||||
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
||||
@ -1127,6 +1144,7 @@ export type VideoMetadataInput = {
|
||||
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
||||
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||
streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>;
|
||||
tableSize?: InputMaybe<Scalars["String"]["input"]>;
|
||||
uploadStreamMetadataInput?: InputMaybe<UploadStreamMetadataInput>;
|
||||
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
||||
|
@ -341,6 +341,8 @@ type Mutation {
|
||||
videoMetadata: VideoMetadataInput!
|
||||
): CreateUploadStreamReturn!
|
||||
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
|
||||
getHlsInitUploadLink(videoId: Int!): GetUploadLinkReturn!
|
||||
setSegmentDuration(videoId: Int!, segmentId: Int!, duration: Float!): Boolean!
|
||||
editUploadStream(videoId: Int!, videoMetadata: VideoMetadataInput!): Boolean!
|
||||
deleteVideo(videoId: Int!): Boolean!
|
||||
}
|
||||
@ -373,6 +375,7 @@ input VideoMetadataInput {
|
||||
tableSize: String = null
|
||||
uploadStreamMetadataInput: UploadStreamMetadataInput = null
|
||||
lastIntendedSegmentBound: Int = null
|
||||
streamSegmentType: StreamSegmentTypeEnum = null
|
||||
endStream: Boolean! = false
|
||||
}
|
||||
|
||||
@ -393,3 +396,8 @@ enum DeviceTypeEnum {
|
||||
ANDROID
|
||||
BROWSER
|
||||
}
|
||||
|
||||
enum StreamSegmentTypeEnum {
|
||||
FRAGMENTED_MP4
|
||||
RB_CHUNKED_MP4
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user