---
title: "Example code to control remote capture"
canonical: "https://help.vicon.com/space/Tracker44/376309571/Example%20code%20to%20control%20remote%20capture"
format: markdown
---
This section contains sample code that shows how to remotely start, stop or cancel a capture, as well as how to monitor a capture. These examples are extensively documented within the code and the relevant notifications are described in [Control remote capture](https://vicon-help.atlassian.net/wiki/spaces/Tracker44/pages/376309553).

The examples are provided in C++ and require the *boost *library for communications.

1. **CaptureBroadcastMonitor**: shows how to monitor for and decode the capture notifications described in [Control remote capture](https://vicon-help.atlassian.net/wiki/spaces/Tracker44/pages/376309553).
2. **RemoteStartStop**: shows how to package and send the packets to trigger capture start and stop.

> Macro (scroll-ignore)
> 
> > Macro (attachments)

> Macro (scroll-only)
> 
> To download these files, go to the [Example code for Control remote capture](https://vicon-help.atlassian.net/wiki/spaces/Tracker44/pages/376309571), in the Shogun documentation.