Describe the bug
When I try to use sample codes of CameraPreview, the camera frame freezes after few frames.__
Steps to reproduce
1. Create new project -> Template Studio for WinUI(Template Studio version:5.5), all default.
2. Use defalut Microsoft.WindowsAppSDK(1.4.231008000) and Microsoft.Windows.SDK.BuildTools(10.0.22621.756)
3. Install CommunityToolkit.WinUI.Controls.CameraPreview 8.0.230907
4. Add sample codes on https://github.com/CommunityToolkit/Windows/blob/main/components/CameraPreview/samples/CameraPreviewSample.xaml and https://github.com/CommunityToolkit/Windows/blob/main/components/CameraPreview/samples/CameraPreviewSample.xaml.cs
5. Build Debug x64 Packaged
6. Camera frames stops updating 2 seconds after app launch
Expected behavior
Camera frame keeps updating.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
Windows 11 23H2 (Build 22635)
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
Version 17.8.2
Device form factor
No response
Additional context
When GC triggered, the frames update for about 0.5 sec, then it freezes again.

Help us help you
No, I'm unable to contribute a solution.
Describe the bug
When I try to use sample codes of CameraPreview, the camera frame freezes after few frames.__
Steps to reproduce
Expected behavior
Camera frame keeps updating.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
Windows 11 23H2 (Build 22635)
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
Version 17.8.2
Device form factor
No response
Additional context
When GC triggered, the frames update for about 0.5 sec, then it freezes again.

Help us help you
No, I'm unable to contribute a solution.