<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SensitiveContentAnalysis",
  "identifier" : "/documentation/SensitiveContentAnalysis/SCVideoStreamAnalyzer/beginAnalysis(of:)-9ehkx",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Sensitive Content Analysis",
      "SensitiveContentAnalysis"
    ],
    "preciseIdentifier" : "c:objc(cs)SCVideoStreamAnalyzer(im)beginAnalysisOfDecompressionSession:error:"
  },
  "title" : "beginAnalysis(of:)"
}
-->

# beginAnalysis(of:)

Analyzes video frames for the given decompression session.

```
func beginAnalysis(of decompressionSession: VTDecompressionSession) throws
```

## Parameters

`decompressionSession`

An object that provides video frames for your app to analyze for sensitive content.

## Discussion

If the framework detects sensitive content in the video stream, the <doc://com.apple.documentation/documentation/VideoToolbox/VTDecompressionSession> produces blank frames to effectively censor the video stream on the person’s behalf. When your app is ready to show the video stream again, resume analysis by calling [`continueStream()`](/documentation/SensitiveContentAnalysis/SCVideoStreamAnalyzer/continueStream()).

---

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)