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

# HandleChangeStreamIsActive

The system calls this virtual method when the stream active state changes.

```
virtual kern_return_t HandleChangeStreamIsActive(bool in_is_active);
```

## Parameters

`in_is_active`

True if the stream is active; otherwise false.

## Return Value

`kIOReturnSuccess` on success. Upon success the stream’s active state should be changed.

## Discussion

The default implementation calls `SetStreamIsActive()` and returns `kIOReturnSuccess`.
Subclass and override this method to handle changing stream active state and
return `kIOReturnSuccess` upon success.

---

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)