When connection to a live stream is broken the VLC process does not close when closing application
When you are using VLC to watch a live stream you may sometimes experience that the connection to that stream closes. It could be connection issues, or it could simply be that the stream went offline. Closing VLC at this point, will not kill the VLC process. It will remain active in taskmanager and use up a considerable amount of CPU, unless you kill the process manually.
Tested on:
VLC 2.2.1 - No issue, process closes when the application is closed.
VLC 2.2.2 - Issue appeared with this release
VLC 2.2.3 - Issue is still here.
VLC 3.0.0 - Unable to test as youtube live streams won't even start properly.
Steps to reproduce:
- Open a live stream in VLC (Ctrl+N)
- Disable your internet connection (disable card or unplug cable)
- When the playback stops, close the application by clicking the X button.
- Notice how the VLC icon will remain in your system tray and also be active in taskmanager.
I had a hard time finding sources of live streams that will be available for debugging purposes on a consistent basis.
I can reproduce the issue when trying to play a live stream from youtube. In my case the youtube live stream won't actually begin playing because of some other fault, but this still allows me to reproduce the issue mentioned in this ticket. You can find youtube live streams here: https://www.youtube.com/channel/UC4R8DWoMoI7CAwX8_LjQHig
If you need another source of live streams to test this on, then there are various live cam websites around, but I won't link to those for obvious reasons.
In the case of youtube streams, I have the following output from console:
http error: cannot connect to manifest.googlevideo.com:443
core error: no suitable access module for `https://manifest.googlevideo.com/api/manifest/hls_playlist/id/8XJLFat9erw.275/itag/91/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D139/sgovp/itag%3D160/hls_chunk_host/r3---sn-ovgq0oxu-5goe.googlevideo.com/playlist_type/LIVE/gcr/dk/mm/32/mn/sn-ovgq0oxu-5goe/ms/lv/mv/m/pl/18/dover/3/upn/FSNa_c0Uspw/keepalive/yes/sver/3/fexp/9410705,9416126,9416891,9419451,9422596,9424335,9425620,9428398,9428660,9429011,9429162,9429693,9431012,9431325,9431449,9431865,9433096,9433302,9433655,9433946,9434290,9434764,9435580/mt/1461869712/ip/130.226.70.68/ipbits/0/expire/1461891338/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,mm,mn,ms,mv,pl/signature/304F08C6FC536102388823C71DDD9EAD065F9C06.20203C851C3BE1B20F7BFF6E61D2F11839DC0699/key/dg_yt0/playlist/index.m3u8'
http error: cannot connect to manifest.googlevideo.com:443
core error: no suitable access module for `https://manifest.googlevideo.com/api/manifest/hls_playlist/id/8XJLFat9erw.275/itag/92/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D139/sgovp/itag%3D133/hls_chunk_host/r3---sn-ovgq0oxu-5goe.googlevideo.com/playlist_type/LIVE/gcr/dk/mm/32/mn/sn-ovgq0oxu-5goe/ms/lv/mv/m/pl/18/dover/3/upn/FSNa_c0Uspw/keepalive/yes/sver/3/fexp/9410705,9416126,9416891,9419451,9422596,9424335,9425620,9428398,9428660,9429011,9429162,9429693,9431012,9431325,9431449,9431865,9433096,9433302,9433655,9433946,9434290,9434764,9435580/mt/1461869712/ip/130.226.70.68/ipbits/0/expire/1461891338/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,mm,mn,ms,mv,pl/signature/5A6A26D8E50B485ABAB8487B016633812DECE1B1.7B96FBCEF2699E604FC5431FB4B2AF22FC86D5F6/key/dg_yt0/playlist/index.m3u8'
http error: cannot connect to manifest.googlevideo.com:443
core error: no suitable access module for `https://manifest.googlevideo.com/api/manifest/hls_playlist/id/8XJLFat9erw.275/itag/93/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D134/hls_chunk_host/r3---sn-ovgq0oxu-5goe.googlevideo.com/playlist_type/LIVE/gcr/dk/mm/32/mn/sn-ovgq0oxu-5goe/ms/lv/mv/m/pl/18/dover/3/upn/FSNa_c0Uspw/keepalive/yes/sver/3/fexp/9410705,9416126,9416891,9419451,9422596,9424335,9425620,9428398,9428660,9429011,9429162,9429693,9431012,9431325,9431449,9431865,9433096,9433302,9433655,9433946,9434290,9434764,9435580/mt/1461869712/ip/130.226.70.68/ipbits/0/expire/1461891338/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,mm,mn,ms,mv,pl/signature/66E1F8E03984840DD57CA96826AEFB081AA8D5B4.861747B2249F9893FD9D3B50B017ED4C03718973/key/dg_yt0/playlist/index.m3u8'
http error: cannot connect to manifest.googlevideo.com:443
core error: no suitable access module for `https://manifest.googlevideo.com/api/manifest/hls_playlist/id/8XJLFat9erw.275/itag/94/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D135/hls_chunk_host/r3---sn-ovgq0oxu-5goe.googlevideo.com/playlist_type/LIVE/gcr/dk/mm/32/mn/sn-ovgq0oxu-5goe/ms/lv/mv/m/pl/18/dover/3/upn/FSNa_c0Uspw/keepalive/yes/sver/3/fexp/9410705,9416126,9416891,9419451,9422596,9424335,9425620,9428398,9428660,9429011,9429162,9429693,9431012,9431325,9431449,9431865,9433096,9433302,9433655,9433946,9434290,9434764,9435580/mt/1461869712/ip/130.226.70.68/ipbits/0/expire/1461891338/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,mm,mn,ms,mv,pl/signature/79F490FD06C3C596923A0104C591C0E1B0BE9F0D.18069C56E94EEC00E024786EA64E63F16B0CC10F/key/dg_yt0/playlist/index.m3u8'
http error: cannot connect to manifest.googlevideo.com:443
core error: no suitable access module for `https://manifest.googlevideo.com/api/manifest/hls_playlist/id/8XJLFat9erw.275/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D136/hls_chunk_host/r3---sn-ovgq0oxu-5goe.googlevideo.com/playlist_type/LIVE/gcr/dk/mm/32/mn/sn-ovgq0oxu-5goe/ms/lv/mv/m/pl/18/dover/3/upn/FSNa_c0Uspw/keepalive/yes/sver/3/fexp/9410705,9416126,9416891,9419451,9422596,9424335,9425620,9428398,9428660,9429011,9429162,9429693,9431012,9431325,9431449,9431865,9433096,9433302,9433655,9433946,9434290,9434764,9435580/mt/1461869712/ip/130.226.70.68/ipbits/0/expire/1461891338/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,mm,mn,ms,mv,pl/signature/53354391391D60DFB0F6E72A8DF9FBF04C7F8D0B.3C3BDFE909E968A83BC5368DD370CE834F683E02/key/dg_yt0/playlist/index.m3u8'
httplive error: reloading playlist failed
The above output will repeat about once every second or so.
If you need more information, then please let me know.