<!--
{
  "availability" : [
    "Xcode: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 12.0.0 -",
    "iOS: 16.0.0 -"
  ],
  "documentType" : "article",
  "framework" : "DeviceDiscoveryExtension",
  "identifier" : "/documentation/DeviceDiscoveryExtension/discovering-a-third-party-media-streaming-device",
  "metadataVersion" : "0.1.0",
  "role" : "sampleCode",
  "title" : "Discovering a third-party media-streaming device"
}
-->

# Discovering a third-party media-streaming device

Build an extension that streams media to a server app in iOS or macOS.

## Overview

> Note: This sample code project is associated with WWDC22 session [10096: What’s new in privacy](https://developer.apple.com/wwdc22/10096).

### Configure the sample code project

Run either the macOS or iOS server target to emulate a third-party media-streaming receiver. Set the client scheme’s run destination to an iOS 16 device. Run the client and select the emulated device from the system device-picker UI.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)