Skip to content

Commit d18cea8

Browse files
authored
Merge pull request #132775 from Juliako/patch-83
Update event-based-video-recording-tutorial.md
2 parents 19f55b0 + a4feac9 commit d18cea8

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

articles/media-services/live-video-analytics-edge/event-based-video-recording-tutorial.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,18 @@ To see the events from the objectCounter module and from the Live Video Analytic
182182
> [!div class="mx-imgBorder"]
183183
> :::image type="content" source="./media/quickstarts/start-monitoring-iothub-events.png" alt-text="Start monitoring built-in event endpoint":::
184184
185-
## Run the program
185+
## Run the program
186186
187-
1. In Visual Studio Code, go to src/cloud-to-device-console-app/operations.json.
187+
1. In Visual Studio Code, open the **Extensions** tab (or press Ctrl+Shift+X) and search for Azure IoT Hub.
188+
1. Right click and select **Extension Settings**.
188189
190+
> [!div class="mx-imgBorder"]
191+
> :::image type="content" source="./media/run-program/extensions-tab.png" alt-text="Extension Settings":::
192+
1. Search and enable “Show Verbose Message”.
193+
194+
> [!div class="mx-imgBorder"]
195+
> :::image type="content" source="./media/run-program/show-verbose-message.png" alt-text="Show Verbose Message":::
196+
1. <!--In Visual Studio Code, go-->Go to src/cloud-to-device-console-app/operations.json.
189197
1. Under the **GraphTopologySet** node, edit the following:
190198
191199
`"topologyUrl" : "https://raw.githubusercontent.com/Azure/live-video-analytics/master/MediaGraph/topologies/evr-hubMessage-assets/topology.json"`
@@ -194,7 +202,6 @@ To see the events from the objectCounter module and from the Live Video Analytic
194202
195203
`"topologyName" : "EVRtoAssetsOnObjDetect"`
196204
1. Start a debugging session by selecting F5. You'll see some messages printed in the **TERMINAL** window.
197-
198205
1. The operations.json file starts off with calls to GraphTopologyList and GraphInstanceList. If you've cleaned up resources after previous quickstarts or tutorials, this action returns empty lists and pauses for you to select **Enter**, as shown:
199206
200207
```
@@ -212,7 +219,6 @@ To see the events from the objectCounter module and from the Live Video Analytic
212219
Executing operation WaitForInput
213220
Press Enter to continue
214221
```
215-
216222
1. After you select **Enter** in the **TERMINAL** window, the next set of direct method calls is made:
217223
* A call to GraphTopologySet by using the previous topologyUrl
218224
* A call to GraphInstanceSet by using the following body
@@ -246,11 +252,9 @@ To see the events from the objectCounter module and from the Live Video Analytic
246252
* A second call to GraphInstanceList to show that the graph instance is in the running state
247253
248254
1. The output in the **TERMINAL** window pauses now at a **Press Enter to continue** prompt. Don't select **Enter** at this time. Scroll up to see the JSON response payloads for the direct methods you invoked.
249-
250255
1. If you now switch over to the **OUTPUT** window in Visual Studio Code, you'll see messages being sent to IoT Hub by the Live Video Analytics on IoT Edge module.
251256
252257
These messages are discussed in the following section.
253-
254258
1. The graph instance continues to run and record the video. The RTSP simulator keeps looping the source video. Review the messages as discussed in the following section. Then to stop the instance, go back to the **TERMINAL** window and select **Enter**. The next series of calls are made to clean up resources by using:
255259
256260
* A call to GraphInstanceDeactivate to deactivate the graph instance.

0 commit comments

Comments
 (0)