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

Crash when adding video track #142

Open
mluketin opened this issue Aug 11, 2021 · 0 comments
Open

Crash when adding video track #142

mluketin opened this issue Aug 11, 2021 · 0 comments

Comments

@mluketin
Copy link

When adding VideoTrack to PeerConnection, I get a crash most of the times (4 out of 5 tries crashes).

I tracked the issue to video_capture_winrt.cc and VideoCaptureWinRTInternal::StartCapture method.
It crashes after calling CreateFrameReaderAsync and then WaitForAsyncOperation.

When debugging in VS, the crash has the following message :Exception thrown at 0x00007FFB90FB0D2A (ntdll.dll) in WinRT_Desktop.exe: 0xC0000008: An invalid handle was specified."

If the crash does not happen, I get the following exception (I think it is thrown for every video frame), but it does not crash the app: "Exception thrown at 0x00007FFB8EA84ED9 (KernelBase.dll) in WinRT_Desktop.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080004005, 0x0000000000000000, 0x0000000000000027, 0x00000099DB4FEE00)."

Did anyone else encounter this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant