> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mottostreaming.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Concurrency control

> Limit the number of simultaneous devices that can stream from a single account.

## Introduction

Concurrency control allows you to limit how many devices can simultaneously stream content from a single viewer account. This is a common requirement from rights holders who want to prevent credential sharing on paid content.

Concurrency control only works in combination with [entitlement verification](/guides/streaming/video-protection/other). The allowed number of concurrent devices is defined on the **offer** that a viewer buys.

## Get Started

You can get started using the Motto Studio, which we recommend for non-technical users. Alternatively, you may get started by using the Studio API.

<AccordionGroup>
  <Accordion title="Via the Studio">
    1. Navigate to **Monetization** → **Offers** in the Motto Studio.
    2. Create a new offer or edit an existing one.
    3. In the offer configuration, set the **concurrency limit** to the desired number of simultaneous streams per account.
    4. Make sure concurrency control is **enabled** on your video protection ruleset.

    <img src="https://mintcdn.com/motto/IL7YbRFiJsmG6BmE/images/add_new_offer.png?fit=max&auto=format&n=IL7YbRFiJsmG6BmE&q=85&s=9a62c3d0ca6b6d7eda48ca0935c334e5" width="1591" height="3018" data-path="images/add_new_offer.png" />
  </Accordion>

  <Accordion title="Via the API">
    1. [Create or update an offer](/reference/studio-api/monetization/offers/v1/create-offer) and set the concurrency limit field to the desired number of simultaneous streams.
    2. Enable concurrency control on your [video protection ruleset](/reference/studio-api/streaming/video-protection/v1/create-ruleset).
  </Accordion>
</AccordionGroup>

<Note>Concurrency control can be toggled on or off on the ruleset at any time. The actual limit is always determined by the offer the viewer has purchased.</Note>

## Next Steps

* [Entitlement verification](/guides/streaming/video-protection/other) — control which users can access paid content
* [Target selection](/guides/streaming/video-protection/target-selection) — scope your rulesets to the right content
