This sample demonstrates how to filter content using asset and account filters. It performs the following tasks:
- Creates an encoding Transform that uses a built-in preset for adaptive bitrate encoding.
- Ingests a file.
- Submits a job.
- Creates an asset filter.
- Creates an Account filter.
- Publishes output asset for streaming.
- Gets streaming url(s) with filters.
- Associates filters to a new streaming locator.
- Gets streaming url(s) for the new locator.
Required Assemblies:
- Azure.Identity
- Azure.ResourceManager.Media
- Azure.Storage.Blobs
- System.Linq.Async
An Azure Media Services account. See the steps described in Create a Media Services account.
Update the settings in appsettings.json in the root folder of the repository to match your Azure subscription, resource group and Media Services account. Then build and run the sample in Visual Studio or VS Code.