Skip to content

Commit 2172883

Browse files
Apply suggestions from review - Downloads update
Co-authored-by: ToriLindsay <[email protected]>
1 parent 160df2e commit 2172883

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/content/docs/stream/viewing-videos/download-videos.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@ sidebar:
55
order: 6
66
---
77

8-
When you upload a video to Stream, it can be streamed using HLS/DASH. However, for use certain use-cases, you may want to download the MP4 or M4A file.
8+
When you upload a video to Stream, it can be streamed using HLS/DASH. However, for certain use-cases, you may want to download the MP4 or M4A file.
99
For cases such as offline viewing, you may want to download the MP4 file. Whereas, for downstream tasks like AI summarization, if you want to extract only the audio, downloading an M4A file may be more useful.
1010

1111
## Generate downloadable MP4 files
1212

13-
> NOTE: The `/downloads` endpoint defaults to creating an MP4 download.
13+
:::note
14+
The `/downloads` endpoint defaults to creating an MP4 download.
15+
:::
1416

1517
You can enable MP4 support on a per video basis by following the steps below:
1618

17-
1. Enable MP4 support by making a POST request to the `/downloads` or `/downloads/default` endpoint
19+
1. Enable MP4 support by making a POST request to the `/downloads` or `/downloads/default` endpoint.
1820
2. Save the MP4 URL provided by the response to the endpoint. This MP4 URL will become functional when the MP4 is ready in the next step.
1921
3. Poll the `/downloads` endpoint until the `status` field is set to `ready` to inform you when the MP4 is available. You can now use the MP4 URL from step 2.
2022

@@ -24,7 +26,7 @@ To get notified when a video is ready to view, refer to [Using webhooks](/stream
2426

2527
## Generate downloadable M4A files
2628

27-
To enable M4A support on a per video basis, we follow steps similar to that of generating an MP4 download, but instead send a POST request to the `/downloads/audio` endpoint.
29+
To enable M4A support on a per video basis, follow steps similar to that of generating an MP4 download, but instead send a POST request to the `/downloads/audio` endpoint.
2830

2931
## Examples
3032

0 commit comments

Comments
 (0)