Surface errors in upload process w/ audio & text alert/prompt (#485)

CLOSES #480
CLOSES #93 (ground-work completed by @dean)

ADDRESSES #488 (will not show if recorded video is not active upload)

Reviewed-on: railbird/railbird-mobile#485
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
Co-authored-by: Loewy <loewymalkov@gmail.com>
Co-committed-by: Loewy <loewymalkov@gmail.com>
This commit is contained in:
Loewy 2024-05-20 19:05:10 -06:00 committed by loewy
parent d94dbd6c03
commit 9b76a6b599
2 changed files with 23 additions and 0 deletions

View File

@ -730,6 +730,15 @@ export type GetStreamMonitoringDetailsQuery = {
uploadCompletionCursor: number;
lastIntendedSegmentBound?: number | null;
} | null;
currentProcessing?: {
__typename?: "VideoProcessingGQL";
errors: Array<{
__typename?: "VideoProcessingErrorGQL";
message: string;
startSegmentIndex?: number | null;
endSegmentIndex?: number | null;
}>;
} | null;
};
};
@ -1660,6 +1669,13 @@ export const GetStreamMonitoringDetailsDocument = gql`
uploadCompletionCursor
lastIntendedSegmentBound
}
currentProcessing {
errors {
message
startSegmentIndex
endSegmentIndex
}
}
}
}
`;

View File

@ -52,6 +52,13 @@ query GetStreamMonitoringDetails($videoId: Int!) {
uploadCompletionCursor
lastIntendedSegmentBound
}
currentProcessing {
errors {
message
startSegmentIndex
endSegmentIndex
}
}
}
}