Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoTexture keeps accessing camera after being disposed #3

Closed
PrimaryFeather opened this issue Jun 29, 2017 · 1 comment
Closed

VideoTexture keeps accessing camera after being disposed #3

PrimaryFeather opened this issue Jun 29, 2017 · 1 comment

Comments

@PrimaryFeather
Copy link
Contributor

Problem Description

Even after disposing a VideoTexture that has a camera attached to it, the camera is still being accessed.

Tested with iOS 10.3.2, compiled with AIR SDK 26.0.0, build 112.

Adobe Tracker Issue: https://tracker.adobe.com/#/view/AIR-4198123

Steps to Reproduce

  • Compile & run the class VideoTextureBug.as as Flash Project.
  • Allow the camera to be accessed when the dialog pops up.
  • A spinning triangle with the camera contents will appear.
  • When hitting "x" on the keyboard, the texture will be disposed.

Actual Result: The light on the camera keeps glowing.
Expected Result: The light on the camera should go out.

In other words: when disposing the texture, any connection to the camera should be severed.

Known Workarounds

Before disposing the video texture, call videoTexture.attachCamera(null) manually.

@PrimaryFeather
Copy link
Contributor Author

Adobe fixed this problem with AIR 27.0.116. Thanks a lot for your efforts!

This was referenced Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant