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
title: Create an Azure Media Services Live stream with the portal and Wirecast
3
-
description: Learn how to create an Azure Media Service Live stream
2
+
title: Create an Azure Media Services live stream
3
+
description: Learn how to create an Azure Media Services live stream by using the portal and Wirecast
4
4
services: media-services
5
5
ms.service: media-services
6
6
ms.topic: quickstart
@@ -9,158 +9,181 @@ author: IngridAtMicrosoft
9
9
ms.date: 03/25/2020
10
10
---
11
11
12
-
# Create a Azure Media Services Live stream with the portal and Wirecast
13
-
14
-
This Getting Started Guide assumes that you have an Azure subscription and have created an Azure Media Services account.
15
-
16
-
If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
17
-
18
-
## Log in to the Azure portal
19
-
20
-
Open your web browser, and navigate to the [Microsoft Azure portal](https://portal.azure.com/). Enter your credentials to sign in to the portal. The default view is your service dashboard.
21
-
22
-
In this quickstart, we will cover:
23
-
24
-
- Setting up an on-premises encoder with a free trial of Telestream Wirecast
25
-
- Setting up a live stream
26
-
- Setting up live stream outputs
27
-
- Running a default streaming endpoint
28
-
- Using the Azure Media Player to view the live stream and on-demand output
29
-
30
-
To keep things simple, we will use an encoding preset for Azure Media Services in Wirecast, pass-through cloud encoding, and RTMP.
31
-
32
-
## Setting up an on-premises encoder with Wirecast
33
-
34
-
1. Download and install Wirecast for your operating system at https://www.telestream.net
35
-
1. Start the application and use your favorite email address to register the product. Keep the application open.
36
-
1. You will receive an email asking you to verify your email address, then then the application will start the free trial.
37
-
1. RECOMMENDED: Watch the video tutorial in the opening application screen.
38
-
39
-
## Setting up an Azure Media Services live stream
40
-
41
-
1. Once you have navigated to the Azure Media Services account within the portal, select **Live streaming** from the Media Services listing.<br/>
42
-
<br/>
43
-
1. Click on **Add live event** to create a new live streaming event.<br/>
44
-
<br/>
45
-
1. Enter a name for your new event such as *TestLiveEvent* in the Live event **Name** field.<br/>
46
-
<br/>
47
-
1. Enter an optional description of the event in the **Description** field.
48
-
1. Select the **Pass-through – no cloud encoding** radio button.<br/>
49
-

50
-
1. Select the **RTMP** radio button.
51
-
1. Make sure that the **No** radio button is selected for Start live event, to prevent being billed for the live event before it is ready. (Billing will begin once the live event is started.)
52
-
<br/>
53
-
1. Click the **Review + create** button to review the settings.
54
-
1. Click the **Create** button to create the live event. You will then be returned to the live event listing view.
55
-
1. Click on the **link to the live event** you just created. Notice that your event is stopped.
56
-
1. Keep this page open in your browser. We will come back to it later.
57
-
58
-
## Setting up a live stream with Wirecast Studio
59
-
60
-
1. Assuming that you still have the Wirecast application open, select **Create Empty Document** from the main menu, then click **Continue**.
1. Hover over the first layer in the Wirecast layers area. Click the **Add** icon that appears and select the video input you want to stream. The Master Layer 1 dialogue box will open.<br/>
1. Select **Video capture** from the menu and then select the camera that you want to use. If selecting a camera, the view from the camera will appear in the Preview area.
65
-

66
-
1. Hover over the second layer in the Wirecast layers area. Click the **Add** icon that appears and select the audio input you want to stream. The Master Layer 2 dialogue box will open.
67
-
1. Select **Audio capture** from the menu and then select the audio input that you want to use.
1. From the main menu, select **Output settings**. The Output dialog box will appear.
70
-
1. Select **Azure Media Services** from the output dropdown. The output setting for Azure Media Services will auto populate *most* of the output settings.<br/>
This quickstart will help you create an Azure Media Services live stream by using the Azure portal and Telestream Wirecast. It assumes that you have an Azure subscription and have created a Media Services account.
15
+
16
+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
17
+
18
+
## Sign in to the Azure portal
19
+
20
+
Open your web browser, and go to the [Microsoft Azure portal](https://portal.azure.com/). Enter your credentials to sign in to the portal. The default view is your service dashboard.
21
+
22
+
In this quickstart, we'll cover:
23
+
24
+
- Setting up an on-premises encoder with a free trial of Telestream Wirecast.
25
+
- Setting up a live stream.
26
+
- Setting up live stream outputs.
27
+
- Running a default streaming endpoint.
28
+
- Using Azure Media Player to view the live stream and on-demand output.
29
+
30
+
To keep things simple, we'll use an encoding preset for Azure Media Services in Wirecast, pass-through cloud encoding, and RTMP.
31
+
32
+
## Set up an on-premises encoder by using Wirecast
33
+
34
+
1. Download and install Wirecast for your operating system on the [Telestream website](https://www.telestream.net).
35
+
1. Start the application and use your favorite email address to register the product. Keep the application open.
36
+
1. In the email that you receive, verify your email address. Then the application will start the free trial.
37
+
1. Recommended: Watch the video tutorial in the opening application screen.
38
+
39
+
## Set up an Azure Media Services live stream
40
+
41
+
1. Go to the Azure Media Services account within the portal, and then select **Live streaming** from the **Media Services** listing.
1. Make sure that the **No** option is selected for **Start live event**, to avoid being billed for the live event before it's ready. (Billing will begin when the live event is started.)
56
+
57
+

58
+
1. Select the **Review + create** button to review the settings.
59
+
1. Select the **Create** button to create the live event. You're then returned to the live event listing.
60
+
1. Select the link to the live event that you just created. Notice that your event is stopped.
61
+
1. Keep this page open in your browser. We'll come back to it later.
62
+
63
+
## Set up a live stream by using Wirecast Studio
64
+
65
+
1. In the Wirecast application, select **Create Empty Document** from the main menu, and then select **Continue**.
1. Hover over the first layer in the **Wirecast layers** area. Select the **Add** icon that appears, and select the video input that you want to stream.
1. Select **Video Capture** from the menu, and then select the camera that you want to use.
74
+
75
+

76
+
77
+
The view from the camera appears in the preview area.
78
+
1. Hover over the second layer in the **Wirecast layers** area. Select the **Add** icon that appears, and select the audio input that you want to stream. The **Master Layer 2** dialog box opens.
79
+
1. Select **Audio capture** from the menu, and then select the audio input that you want to use.
80
+
81
+

82
+
1. From the main menu, select **Output settings**. The **Select an Output Destination** dialog box appears.
83
+
1. Select **Azure Media Services** from the **Destination** drop-down list. The output setting for Azure Media Services automatically populates *most* of the output settings.
This part will set up your outputs and enable you to save a recording of your live stream.
88
105
89
106
> [!NOTE]
90
-
> In order to stream this output, the streaming endpoint must be running. See Running the default streaming endpoint section below.
91
-
92
-
1. Click on the **Create outputs** link below the Outputs video viewer.
93
-
1. If you like, edit the name of the output in the **Name** field to something more user friendly so it is easy to find later.
94
-

95
-
1. Leave all the rest of the fields alone for now.
96
-
1. Click **Next** add streaming locator.
97
-
1. Change the name of the locator to something more user friendly, if wanted.
98
-

107
+
> For you to stream this output, the streaming endpoint must be running. See the later [Run the default streaming endpoint](#run-the-default-streaming-endpoint) section.
108
+
109
+
1. Select the **Create outputs** link below the **Outputs** video viewer.
110
+
1. If you like, edit the name of the output in the **Name** box to something more user friendly so it's easy to find later.
111
+
112
+

113
+
1. Leave all the rest of the boxes alone for now.
114
+
1. Select **Next** to add a streaming locator.
115
+
1. Change the name of the locator to something more user friendly, if you want.
116
+
117
+

99
118
1. Leave everything else on this screen alone for now.
100
-
1.Click**Create**.
119
+
1.Select**Create**.
101
120
102
-
## Starting the broadcast
121
+
## Start the broadcast
103
122
104
-
1. In Wirecast, select **Output > Start / Stop broadcasting > Start Azure Media Services: Azure Media Services** from the main menu. When the stream has been sent to the live event, the Live window in Wirecast will be show up in the live event video player on the live event page in Azure Media Services.
123
+
1. In Wirecast, select **Output** > **Start / Stop Broadcasting** > **Start Azure Media Services: Azure Media Services** from the main menu.
105
124
106
125

107
126
108
-
1. Click the **Go** button under the preview window to start broadcasting the video and audio you selected for the Wirecast layers.
127
+
When the stream has been sent to the live event, the **Live** window in Wirecast appears in the video player on the live event page in Azure Media Services.
128
+
129
+
1. Select the **Go** button under the preview window to start broadcasting the video and audio that you selected for the Wirecast layers.
109
130
110
131

111
132
112
133
> [!TIP]
113
-
> If there is an error, try reloading the player by clicking the Reload player link above the player.
134
+
> If there's an error, try reloading the player by selecting the **Reload player** link above the player.
135
+
136
+
## Run the default streaming endpoint
114
137
115
-
## Running the default streaming endpoint
138
+
1. Select **Streaming endpoints** in the Media Services listing.
116
139
117
-
1. Make sure your streaming endpoint is running by selecting **Streaming endpoints** in the Media Services listing. You will be taken to the streamingendpoints page.<br/>
118
-

119
-
1.If the default streaming endpoint status is stopped, click on the **default** streaming endpoint. This will take you to the page for that endpoint.
120
-
1. Click **Start**. This will start the streaming endpoint.<br/>
121
-

140
+

141
+
1. If the default streaming endpoint status is stopped, select it. This step takes you to the page for that endpoint.
142
+
1.Select **Start**.
143
+
144
+

122
145
123
-
## Play the output broadcast with Azure Media Player
146
+
## Play the output broadcast by using Azure Media Player
124
147
125
-
1. Copy the **Streaming URL** under the Output video player.
126
-
1. In a web browser, open the demo Azure Media Player https://ampdemo.azureedge.net/azuremediaplayer.html
127
-
1. Paste the **Streaming URL** into the URL field of the Azure Media Player.
128
-
1.Click the **Update Player** button.
129
-
1.Click the **play** icon on the video to see your live stream.
148
+
1. Copy the streaming URL under the **Output** video player.
149
+
1. In a web browser, open the [Azure Media Player demo](https://ampdemo.azureedge.net/azuremediaplayer.html).
150
+
1. Paste the streaming URL into the **URL** box of Azure Media Player.
151
+
1.Select the **Update Player** button.
152
+
1.Select the **Play** icon on the video to see your live stream.
130
153
131
-
## Stopping the broadcast
154
+
## Stop the broadcast
132
155
133
-
When you think you have streamed enough content, stop the broadcast.
156
+
When you think you've streamed enough content, stop the broadcast.
134
157
135
-
1. In Wirecast, click on the **broadcast** button. This will stop the broadcast from Wirecast.
136
-
1. In the portal, click on **Stop**. You will get a warning message that the live stream stop but the output will now become an on-demand asset.
137
-
1.Click on **Stop** in the warning message. The Azure Media Player will also now show an error as the live stream is no longer available.
158
+
1. In Wirecast, select the **Broadcast** button. This step stops the broadcast from Wirecast.
159
+
1. In the portal, select **Stop**. You then get a warning message that the live stream will stop but the output will now become an on-demand asset.
160
+
1.Select **Stop** in the warning message. Azure Media Player now shows an error, because the live stream is no longer available.
138
161
139
-
## Play the on-demand output with the Azure Media Player
162
+
## Play the on-demand output by using Azure Media Player
140
163
141
-
The output you created is now available for on-demand streaming as long as your streaming endpoint is running.
164
+
The output that you created is now available for on-demand streaming as long as your streaming endpoint is running.
142
165
143
-
1.Navigate to the Media Services listing and select **Assets**.
144
-
1. Find the event output you created earlier and click on the **link to the asset**. The asset output page will open.
145
-
1. Copy the **Streaming URL** under the video player for the asset.
146
-
1. Return to the Azure Media Player in the browser and paste the **Streaming URL** into the URL field of the Azure Media Player.
147
-
1.Click**Update Player**.
148
-
1.Click the **play** icon on the video to view the on-demand asset.
166
+
1.Go to the Media Services listing and select **Assets**.
167
+
1. Find the event output that you created earlier and select the link to the asset. The asset output page opens.
168
+
1. Copy the streaming URL under the video player for the asset.
169
+
1. Return to Azure Media Player in the browser and paste the streaming URL into the URL box.
170
+
1.Select**Update Player**.
171
+
1.Select the **Play** icon on the video to view the on-demand asset.
149
172
150
173
## Clean up resources
151
174
152
175
> [!IMPORTANT]
153
-
> Stop the services! Once you have completed the steps in this quickstart, be certain to stop the live event and the streaming endpoint or you will continue to be billed for the time they remain running. To stop the live event, see the Stopping the broadcast, steps 2 and 3 above.
176
+
> Stop the services! After you've completed the steps in this quickstart, be sure to stop the live event and the streaming endpoint, or you'll be billed for the time they remain running. To stop the live event, see the [Stop the broadcast](#stop-the-broadcast) procedure, steps 2 and 3.
154
177
155
-
### Stopping the streaming endpoint
178
+
To stop the streaming endpoint:
156
179
157
180
1. From the Media Services listing, select **Streaming endpoints**.
158
-
2.Click on the **default** streaming endpoint you started earlier. This will open the endpoint's page.
159
-
3.Click on **Stop**. This will stop the streaming endpoint.
181
+
2.Select the default streaming endpoint that you started earlier. This step opens the endpoint's page.
182
+
3.Select **Stop**.
160
183
161
184
> [!TIP]
162
-
> If you don't want to keep the assets from this event, be sure to delete them in order to prevent being billed for storage.
185
+
> If you don't want to keep the assets from this event, be sure to delete them so you're not billed for storage.
163
186
164
187
## Next steps
165
188
> [!div class="nextstepaction"]
166
-
> [Live Events and Live Outputs in Media Services](./live-events-outputs-concept.md)
189
+
> [Live events and live outputs in Media Services](./live-events-outputs-concept.md)
0 commit comments