diff --git a/src/index.tsx b/src/index.tsx index ccab474..9f79156 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1780,6 +1780,32 @@ export type GetVideoQuery = { __typename?: "HLSPlaylistGQL"; segmentDurations: Array; } | null; + homographyHistory: Array<{ + __typename?: "HomographyInfoGQL"; + crop: { + __typename?: "BoundingBoxGQL"; + left: number; + top: number; + width: number; + height: number; + }; + pockets: Array<{ + __typename?: "BoundingBoxGQL"; + left: number; + top: number; + width: number; + height: number; + }>; + sourcePoints: { + __typename?: "PocketPointsGQL"; + topLeft: { __typename?: "IntPoint2D"; x: number; y: number }; + topSide: { __typename?: "IntPoint2D"; x: number; y: number }; + topRight: { __typename?: "IntPoint2D"; x: number; y: number }; + bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number }; + bottomSide: { __typename?: "IntPoint2D"; x: number; y: number }; + bottomRight: { __typename?: "IntPoint2D"; x: number; y: number }; + }; + }>; stream?: { __typename?: "UploadStreamGQL"; segments: Array<{ @@ -1788,6 +1814,11 @@ export type GetVideoQuery = { endFrameIndex?: number | null; framesPerSecond?: number | null; }>; + resolution: { + __typename?: "VideoResolutionGQL"; + width?: number | null; + height?: number | null; + }; } | null; }; }; @@ -3253,12 +3284,56 @@ export const GetVideoDocument = gql` playlist { segmentDurations } + homographyHistory { + crop { + left + top + width + height + } + pockets { + left + top + width + height + } + sourcePoints { + topLeft { + x + y + } + topSide { + x + y + } + topRight { + x + y + } + bottomLeft { + x + y + } + bottomSide { + x + y + } + bottomRight { + x + y + } + } + } stream { segments { segmentIndex endFrameIndex framesPerSecond } + resolution { + width + height + } } } } diff --git a/src/operations/video.gql b/src/operations/video.gql index 72185b1..cad4ec3 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -138,12 +138,56 @@ query GetVideo($videoId: Int!) { playlist { segmentDurations } + homographyHistory { + crop { + left + top + width + height + } + pockets { + left + top + width + height + } + sourcePoints { + topLeft { + x + y + } + topSide { + x + y + } + topRight { + x + y + } + bottomLeft { + x + y + } + bottomSide { + x + y + } + bottomRight { + x + y + } + } + } stream { segments { segmentIndex endFrameIndex framesPerSecond } + resolution { + width + height + } } } }