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

# SetStreamIsActive

Sets whether that the stream is active and doing IO.

```
kern_return_t SetStreamIsActive(bool in_is_active);
```

## Parameters

`in_is_active`

True if the stream is enabled and doing IO; otherwise, false.

## Discussion

Changing the stream active state will send a notification to the host to update the object state if successful.
The object’s work queue synchronizes access to the stream active state.

---

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)