I wrote an app that accesses YouTube live streams by using the most accepted method discussed in this forum. Here is an excerpt.
libvlc_media_parse(web_media);
libvlc_media_list_t *list = libvlc_media_subitems(web_media);
libvlc_media_list_lock(list);
libvlc_media_t *video_media = libvlc_media_list_item_at_index(list, 0);
libvlc_media_list_unlock(list);
libvlc_media_release(web_media);
libvlc_media subitems() returns a valid list when I build the code on Ubuntu 16.04 using VLC 2.2.2 but it returns NULL when I build on Windows 10 using VLC 2.2.8. One difference is that my Linux build is 64-bit and my Windows build is 32-bit. I defined environment VLC_PLUGIN_PATH in Windows so I don't think there is a problem finding LUA scripts.
Is there something I have missed or is there a VLC bug in Windows that doesn't exist in Linux?