Skip to content

Conversation

@GreenShadeZhang
Copy link
Contributor

fix: On the Windows app SDK using CameraHelper, FrameArrived time execution for a period of time will not be triggered.

Maybe my modification is not perfect, but it seems that this can solve the problem of event triggering. I hope you can give some good opinions and suggestions so that this function can be used normally in Windows App SDK applications.

Fixes

Fixes #375

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Currently, when a video frame arrives, the event is not triggered.

What is the new behavior?

Through my PR I test the video frame in the test code, and the video frame processing event is still triggered for a long time.

test-video.mp4

PR Checklist

Please check if your PR fulfills the following requirements:

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • Tested code with current supported SDKs
  • New component
    • Documentation has been added
    • Sample in sample app has been added
    • Analyzers are passing for documentation and samples
    • Icon has been created (if new sample) following the Thumbnail Style Guide and templates
  • Tests for the changes have been added (if applicable)
  • Header has been added to all new source files
  • Contains NO breaking changes

Other information

App11 is the test project I use.

App11.zip

…ution for a period of time will not be triggered.
Copy link
Member

@michael-hawker michael-hawker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @GreenShadeZhang for digging into this issue and submitting a PR. 🦙❤️

@michael-hawker michael-hawker added this to the 8.1 milestone Mar 26, 2024
update frame dispose

Co-authored-by: Michael Hawker MSFT (XAML Llama) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

On the Windows app SDK using CameraHelper, FrameArrived time execution for a period of time will not be triggered.

3 participants