<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoDevice/AddStream",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoDevice@F@AddStream#*$@S@IOUserVideoStream#"
  },
  "title" : "AddStream"
}
-->

# AddStream

Adds an video stream to the device.

```
kern_return_t AddStream(IOUserVideoStream *in_stream);
```

## Parameters

`in_stream`

IOUserVideoStream to add to the device.

## Return Value

`kIOReturnSuccess` if stream was successfully added.

## Discussion

The stream’s reference count will be incremented if it was successfully added.

---

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)