Added transcription of audio and video files to local data sources (#1081)

Co-authored-by: Paul Koudelka <106623909+PaulKoudelka@users.noreply.github.com>
This commit is contained in:
Thorsten SommerandPaul Koudelka authored and GitHub committed 2026-10-18 12:06:15 +02:00
1 parent 8642ce2d81
commit 752f7d828a
82 files changed
+3231 -302

No files matched your search

@@ -0,0 +1,19 @@
namespace AIStudio.Tools.Media;
/// <summary>
/// Where the persistent transcript of an audio or video file lives, cf. PersistentMediaTranscript.
/// </summary>
/// <remarks>
/// A location only names the place. Reading and writing the transcript is left to
/// PersistentMediaTranscript, so every location keeps the same rules against paying twice.
/// </remarks>
internal interface IMediaTranscriptLocation
{
/// <summary>
/// Finds the place of the transcript of a media file.
/// </summary>
/// <param name="mediaPath">The audio or video file.</param>
/// <param name="token">The cancellation token.</param>
/// <returns>The place of the transcript, whether or not a transcript is there yet.</returns>
Task<MediaTranscriptSlot> ResolveAsync(string mediaPath, CancellationToken token);
}