Why does the interface get stuck for 5-10 minutes when using MF to retrieve camera video streams and calling IMFActivate:: Activated Object to retrieve IMFMediaSource * object?

Pengchao PC13 Wang 0 Reputation points
2024-07-16T08:06:30.7433333+00:00

On Windows 11, when using Media Foundation to capture video streams and frequently inserting a camera, calling the IMFActivate:: Activated Object function to retrieve the IMFMediaSource * object occasionally causes it to freeze for 5-10 minutes. This will cause all cameras on the computer to be unusable, and software restarts will not be able to restore them. You must wait for 5-10 minutes or restart the operating system before you can recover.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,510 questions
0 comments No comments
{count} votes