{"id":5490,"date":"2020-12-22T15:26:24","date_gmt":"2020-12-22T14:26:24","guid":{"rendered":"https:\/\/nil.uniza.sk\/?p=5490"},"modified":"2024-07-19T11:04:40","modified_gmt":"2024-07-19T09:04:40","slug":"vlc-sap-multicast-problem","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/vlc-sap-multicast-problem\/","title":{"rendered":"VLC &#8211; SAP problem &#8211; the playlist is empty"},"content":{"rendered":"<p>Our ISP provider (SANET) offers an IPTV service, where the list of TV\/radio programs is offered using SAP multicast at IPv4 address of 233.10.47.10. However, my PC (with Win 10 OS installed) stopped receiving the SAP announcements, and the playlist was just empty. All works fine but once it stopped. Even better, it works for some of my colleagues, but not for others<\/p>\n\n\n\n<p>My PC runs dual-stack, i.e. my network works with IPv4\/IPv6. My PC has several network adapters as I&#8217;m running some virtualization software.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<p>First, I tried some simple tests :<\/p>\n\n\n\n<ul class=\"wp-block-list\" id=\"block-acca06c1-6c03-4ac4-ad7d-901897fb2417\">\n<li>Disable\/enable SAP module configuration. No success.<\/li>\n\n\n\n<li>Reinstall VLC. No success.<\/li>\n<\/ul>\n\n\n\n<p>Then I thought that the problem is more complex:<\/p>\n\n\n\n<ul class=\"wp-block-list\" id=\"block-6bdff0cb-3648-42ad-8b37-b661fca95cbc\">\n<li>trying to disable IPv6\n<ul class=\"wp-block-list\">\n<li>look for how to disable IPv6 in VLC (version 3.0.11). No success, as it is not supported.<\/li>\n\n\n\n<li>trying to disable IPv6 protocol stack as the windows prefer IPv6 over IPv4 and the playlist uses IPv4 only. Restart VLC. No success.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>using Wireshark\n<ul class=\"wp-block-list\">\n<li>sniffing for IGMP to see what VLC generates. I&#8217;ve expected that windows are using a newer IGMP version 3, but the network uses IGMPv2. What was strange, there were IGMPv2, but only a few IGMPv2 membership reports for strange multicast address groups (224.0.0.251 of Multicast DNS<br>224.0.0.252 Link-local Multicast Name Resolution).<\/li>\n\n\n\n<li>I did not see any meaningful IGMP or SAP packet in my Wireshark. No success. <\/li>\n\n\n\n<li>sniffing ICMPv6 MLD. No packets, no success&#8230;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>viewing windows routing table&#8230;that is it!<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Solution &#8211; the IPv4 routing table<\/h2>\n\n\n\n<p>As I already mentioned, my PC is using several network adapters, physical and virtual. And this is the problem. Viewing my windows IPv4 routing table shows that windows uses for IPv4 multicast (224.0.0.0\/8) routing wrong interfaces with wrong metrics:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\WINDOWS\\system32&gt;route print -4\nInterface List\n4\u202640 8d 5c c1 36 28 \u2026\u2026Intel(R) Ethernet Connection (2) I219-V\n...\nIPv4 Route Table\nActive Routes:\nNetwork Destination Netmask Gateway Interface Metric\n...\n224.0.0.0 240.0.0.0 On-link 127.0.0.1 331\n224.0.0.0 240.0.0.0 On-link 169.254.143.79 281\n224.0.0.0 240.0.0.0 On-link 169.254.130.226 281\n224.0.0.0 240.0.0.0 On-link 192.168.10.108 281\n...<\/code><\/pre>\n\n\n\n<p>Therefore, I need to add a new route, which uses the correct default gateway (192.168.10.1 in my case), correct interface (ID ID 4) and lower metric as anyone of actual routes. So, start command line with admin user rights and add correct routing information, for me:<\/p>\n\n\n\n<pre id=\"block-efdc7915-9d9f-4b96-9438-dab65a2b787b\" class=\"wp-block-code\"><code>C:\\WINDOWS\\system32>route add 224.0.0.0 mask 240.0.0.0 192.168.10.1 metric 35 if 4\nOK!<\/code><\/pre>\n\n\n\n<p>and check the routing  table again:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>c:\\WINDOWS\\system32&gt;route print -4\nInterface List\n4\u202640 8d 5c c1 36 28 \u2026\u2026Intel(R) Ethernet Connection (2) I219-V\n...\nIPv4 Route Table\nActive Routes:\nNetwork Destination Netmask Gateway Interface Metric\n...\n224.0.0.0 240.0.0.0 On-link 127.0.0.1 331\n224.0.0.0 240.0.0.0 On-link 169.254.143.79 281\n224.0.0.0 240.0.0.0 On-link 169.254.130.226 281\n224.0.0.0 240.0.0.0 On-link 192.168.10.108 281\n224.0.0.0 240.0.0.0 192.168.10.1 192.168.10.108 60\n...<\/code><\/pre>\n\n\n\n<p>This route record is however only temporary, after PC reboot it will be lost. Add a permanent route record write:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>route add -p 224.0.0.0 mask 240.0.0.0 192.168.10.1 metric 35 if 4 <\/code><\/pre>\n\n\n\n<p>Restart VLC and test. It shows&#8230;working \ud83d\ude42 &#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" decoding=\"async\" width=\"1024\" height=\"596\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2020\/12\/image-1-1024x596.png\" class=\"wp-image-5497\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2020\/12\/image-1-1024x596.png 1024w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2020\/12\/image-1-300x175.png 300w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2020\/12\/image-1-768x447.png 768w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2020\/12\/image-1.png 1535w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" decoding=\"async\" width=\"695\" height=\"634\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2020\/12\/image-2.png\" class=\"wp-image-5498\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2020\/12\/image-2.png 695w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2020\/12\/image-2-300x274.png 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>Our ISP provider (SANET) offers an IPTV service, where the list of TV\/radio programs is offered using SAP multicast at IPv4 address of 233.10.47.10. However, my PC (with Win 10 OS installed) stopped receiving the SAP announcements, and the playlist was just empty. All works fine but once it stopped. Even better, it works for&#8230;<\/p>","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[679],"tags":[],"class_list":["post-5490","post","type-post","status-publish","format-standard","hentry","category-iptv-en"],"taxonomy_info":{"category":[{"value":679,"label":"IPTV"}]},"featured_image_src_large":false,"author_info":{"display_name":"palo73","author_link":"https:\/\/nil.uniza.sk\/en\/author\/palo73\/"},"comment_info":14,"category_info":[{"term_id":679,"name":"IPTV","slug":"iptv-en","term_group":0,"term_taxonomy_id":677,"taxonomy":"category","description":"","parent":0,"count":2,"filter":"raw","cat_ID":679,"category_count":2,"category_description":"","cat_name":"IPTV","category_nicename":"iptv-en","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/5490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=5490"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/5490\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=5490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=5490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=5490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}