-
Notifications
You must be signed in to change notification settings - Fork 69
Description
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.