How to solve this error:cannot initialize COM (error 0x80010106)
When I play the rtsp stream, I encounter the following error:
cannot initialize COM (error 0x80010106)
The _libvlc_Log context is as follows:
[时间:2023-02-17 20:20:40,313]
[线程:34]
[内容:SmallWindow-_libvlc_Log=main Debug: looking for audio output module matching "any": 6 candidates]
[时间:2023-02-17 20:20:40,314]
[线程:19]
[内容:SmallWindow-_libvlc_Log=main Debug: using audio output module "directsound"]
[时间:2023-02-17 20:20:40,315]
[线程:35]
[内容:SmallWindow-_libvlc_Log=main Debug: keeping audio output]
[时间:2023-02-17 20:20:40,345]
[线程:13]
[内容:SmallWindow-_libvlc_Log=main Debug: Creating an input for 'rtsp://172.23.58.249:554/openUrl/XDLuU5a']
[时间:2023-02-17 20:20:40,346]
[线程:37]
[内容:SmallWindow-_libvlc_Log=main Debug: using timeshift granularity of 50 MiB]
[时间:2023-02-17 20:20:40,346]
[线程:37]
[内容:SmallWindow-_libvlc_Log=main Debug: using timeshift path: C:\Users\Lenovo\AppData\Local\Temp]
[时间:2023-02-17 20:20:40,346]
[线程:37]
[内容:SmallWindow-_libvlc_Log=main Debug: `rtsp://172.23.58.249:554/openUrl/XDLuU5a' gives access `rtsp' demux `any' path `172.23.58.249:554/openUrl/XDLuU5a']
[时间:2023-02-17 20:20:40,346]
[线程:37]
[内容:SmallWindow-_libvlc_Log=main Debug: creating demux: access='rtsp' demux='any' location='172.23.58.249:554/openUrl/XDLuU5a' file='\\172.23.58.249:554\openUrl\XDLuU5a']
[时间:2023-02-17 20:20:40,347]
[线程:37]
[内容:SmallWindow-_libvlc_Log=main Debug: looking for access_demux module matching "rtsp": 15 candidates]
[时间:2023-02-17 20:20:40,347]
[线程:37]
[内容:SmallWindow-_libvlc_Log=live555 Debug: version 2016.11.28]
[时间:2023-02-17 20:20:40,311]
[线程:9]
[内容:SmallWindow-_libvlc_Log=main Debug: creating audio output]
[时间:2023-02-17 20:20:40,313]
[线程:32]
[内容:SmallWindow-_libvlc_Log=mmdevice Error: cannot initialize COM (error 0x80010106)]
[时间:2023-02-17 20:20:40,313]
[线程:29]
[内容:SmallWindow-_libvlc_Log=directsound Debug: found 2 devices]
[时间:2023-02-17 20:20:40,311]
[线程:33]
[内容:SmallWindow-_libvlc_Log=main Debug: removing module "swscale"]
[时间:2023-02-17 20:20:40,504]
[线程:31]
[内容:SmallWindow-_libvlc_Log=direct3d11 Debug: WinProc WM_DESTROY]
[时间:2023-02-17 20:20:40,504]
[线程:10]
[内容:SmallWindow-_libvlc_Log=direct3d11 Debug: Win32 Vout EventThread terminating]
[时间:2023-02-17 20:20:40,504]
[线程:31]
[内容:SmallWindow-_libvlc_Log=direct3d11 Debug: WinProc WM_DESTROY]
[时间:2023-02-17 20:20:40,504]
[线程:34]
[内容:SmallWindow-_libvlc_Log=direct3d11 Debug: Win32VoutCloseWindow]
[时间:2023-02-17 20:20:40,556]
[线程:13]
[内容:SmallWindow-_libvlc_Log=main Debug: creating audio output]
[时间:2023-02-17 20:20:40,556]
[线程:13]
[内容:SmallWindow-_libvlc_Log=main Debug: creating audio output]
[时间:2023-02-17 20:20:40,556]
[线程:37]
[内容:SmallWindow-_libvlc_Log=main Debug: looking for audio output module matching "any": 6 candidates]
[时间:2023-02-17 20:20:40,557]
[线程:37]
[内容:SmallWindow-_libvlc_Log=main Debug: looking for audio output module matching "any": 6 candidates]
[时间:2023-02-17 20:20:40,557]
[线程:37]
[内容:SmallWindow-_libvlc_Log=directsound Debug: found 2 devices]
[时间:2023-02-17 20:20:40,558]
[线程:37]
[内容:SmallWindow-_libvlc_Log=directsound Debug: found 2 devices]
[时间:2023-02-17 20:20:40,557]
[线程:12]
[内容:SmallWindow-_libvlc_Log=main Debug: using audio output module "directsound"]
[时间:2023-02-17 20:20:40,558]
[线程:12]
[内容:SmallWindow-_libvlc_Log=main Debug: using audio output module "directsound"]
[时间:2023-02-17 20:20:40,558]
[线程:12]
[内容:SmallWindow-_libvlc_Log=main Debug: keeping audio output]
[时间:2023-02-17 20:20:40,556]
[线程:15]
[内容:SmallWindow-_libvlc_Log=mmdevice Error: cannot initialize COM (error 0x80010106)]
[时间:2023-02-17 20:20:40,558]
[线程:12]
[内容:SmallWindow-_libvlc_Log=main Debug: keeping audio output]
[时间:2023-02-17 20:20:40,559]
[线程:15]
[内容:SmallWindow-_libvlc_Log=mmdevice Error: cannot initialize COM (error 0x80010106)]