You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/media-services/latest/stream-files-tutorial-with-rest.md
+33-5Lines changed: 33 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.service: media-services
11
11
ms.workload:
12
12
ms.topic: tutorial
13
13
ms.custom: mvc
14
-
ms.date: 04/22/2019
14
+
ms.date: 10/21/2019
15
15
ms.author: juliako
16
16
---
17
17
@@ -90,11 +90,12 @@ Clone a GitHub repository that contains the Postman collection and environment
90
90
In this section, we send requests that are relevant to encoding and creating URLs so you can stream your file. Specifically, the following requests are sent:
91
91
92
92
1. Get Azure AD Token for Service Principal Authentication
93
+
1. Start a Streaming Endpoint
93
94
2. Create an output asset
94
-
3. Create a **Transform**
95
-
4. Create a **Job**
96
-
5. Create a **Streaming Locator**
97
-
6. List paths of the **Streaming Locator**
95
+
3. Create a Transform
96
+
4. Create a Job
97
+
5. Create a Streaming Locator
98
+
6. List paths of the Streaming Locator
98
99
99
100
> [!Note]
100
101
> This tutorial assumes you are creating all resources with unique names.
@@ -115,6 +116,33 @@ In this section, we send requests that are relevant to encoding and creating URL
To enable streaming, you first have to start the [Streaming Endpoint](https://docs.microsoft.com/azure/media-services/latest/streaming-endpoint-concept) from which you want to stream the video.
123
+
124
+
> [!NOTE]
125
+
> You are only billed when your Streaming Endpoint is in the running state.
126
+
127
+
1. In the left window of the Postman app, select "Streaming and Live".
* If the request is successful, the `Status: 202 Accepted` is returned.
137
+
138
+
This status means that the request has been accepted for processing; however, the processing has not been completed. You can query for the operation status based on the value in the `Azure-AsyncOperation` response header.
139
+
140
+
For example, the following GET operation returns the status of your operation:
The [track asynchronous Azure operations](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-async-operations) article explains in depth how to track the status of asynchronous Azure operations through values returned in the response.
145
+
118
146
### Create an output asset
119
147
120
148
The output [Asset](https://docs.microsoft.com/rest/api/media/assets) stores the result of your encoding job.
0 commit comments