hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { blobClient } from "../client"; |
| 2 | |
| 3 | /** |
| 4 | * The whole produced episode as one Blob. The audio door streams chunked with |
| 5 | * no length and ignores `Range`, so a browser cannot seek on the stream; the |
| 6 | * player loads this once and seeks inside a local object URL instead. |
| 7 | */ |
| 8 | export function getPodcastJobAudioBlob(jobId: string, signal?: AbortSignal): Promise<Blob> { |
| 9 | return blobClient(`/podcast/jobs/${encodeURIComponent(jobId)}/audio`, signal); |
| 10 | } |