From f9b02f65e07a3a9dceceef480e299c5b7f34483f Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Mon, 26 Aug 2024 20:53:16 -0600 Subject: [PATCH] Expose frames per second in get videos --- src/index.tsx | 2 ++ src/operations/video.gql | 1 + 2 files changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 796f3a8..005d7f4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2055,6 +2055,7 @@ export type GetVideosQuery = { getVideos: Array<{ __typename?: "VideoGQL"; id: number; + framesPerSecond: number; stream?: { __typename?: "UploadStreamGQL"; id: string; @@ -3621,6 +3622,7 @@ export const GetVideosDocument = gql` query GetVideos($videoIds: [Int!]!) { getVideos(videoIds: $videoIds) { id + framesPerSecond stream { id streamSegmentType diff --git a/src/operations/video.gql b/src/operations/video.gql index d47ab35..3b786ce 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -118,6 +118,7 @@ query GetVideoDetails($videoId: Int!) { query GetVideos($videoIds: [Int!]!) { getVideos(videoIds: $videoIds) { id + framesPerSecond stream { id streamSegmentType -- 2.45.2