namespace AIStudio.Tools.Media;
///
/// How the request for a persistent transcript ended, cf. PersistentMediaTranscript.
///
public enum PersistentMediaTranscriptStatus
{
///
/// The transcript is stored at its place and holds text.
///
READY,
///
/// There is no transcript yet, and the caller allows no transcription provider.
///
NO_PROVIDER,
///
/// The media file could not be read before it was transcribed.
///
SOURCE_UNREADABLE,
///
/// A transcript exists, but it could not be read.
///
TRANSCRIPT_UNREADABLE,
///
/// The transcription failed. The error code of the media pipeline tells why, when it is known.
///
TRANSCRIPTION_FAILED,
///
/// The transcription provider refused the media file itself, e.g., because it is too large
/// or damaged. It would refuse the unchanged file again.
///
REJECTED,
///
/// The media file holds no audible signal, so there was nothing to transcribe.
///
NO_AUDIBLE_SIGNAL,
///
/// The transcription provider returned no text. Nothing was stored.
///
EMPTY,
///
/// The media file changed while it was transcribed. Nothing was stored.
///
SOURCE_CHANGED,
///
/// The transcript could not be stored at its place.
///
STORE_FAILED,
///
/// The caller cancelled before a transcript was available.
///
CANCELLED,
}