Merge pull request 'Expose frames per second on video' (#27) from kat/add-video-duration into master

Reviewed-on: #27
This commit is contained in:
Ivan Malison 2024-07-30 11:54:34 -06:00
commit c49266e4c1
2 changed files with 3 additions and 0 deletions

View File

@ -1931,6 +1931,7 @@ export type GetVideoForClipTimesQuery = {
getVideo: { getVideo: {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number; id: number;
framesPerSecond: number;
playlist?: { playlist?: {
__typename?: "HLSPlaylistGQL"; __typename?: "HLSPlaylistGQL";
segmentDurations: Array<number>; segmentDurations: Array<number>;
@ -3720,6 +3721,7 @@ export const GetVideoForClipTimesDocument = gql`
query GetVideoForClipTimes($videoId: Int!) { query GetVideoForClipTimes($videoId: Int!) {
getVideo(videoId: $videoId) { getVideo(videoId: $videoId) {
id id
framesPerSecond
playlist { playlist {
segmentDurations segmentDurations
} }

View File

@ -215,6 +215,7 @@ query GetMedianRunForVideo($videoId: Int!) {
query GetVideoForClipTimes($videoId: Int!) { query GetVideoForClipTimes($videoId: Int!) {
getVideo(videoId: $videoId) { getVideo(videoId: $videoId) {
id id
framesPerSecond
playlist { playlist {
segmentDurations segmentDurations
} }