Thanks you again. I will take a detailed look at this setup.
In the Movistar setup, the querier is the igmp-proxy.
Yes, I remember that I tested the Asus as AP and had the same issues. But if I use the Asus as my main and only router , the TV doesn’t have any cuts or pixelation issues.
With the TV Box through ethernet, there are no cuts, only fast pixelations sometimes. But with the Asus router, TV Box through wifi works 100%
But my ISP TV require some special things like RIP, a special DNS for the TV Box, an option for the TV OPCH, and an option matcher in the DNS server.. This is the ISP setup I use:
I sent to support a pcap file capturing vlan2-iptv traffic (except UDP) and a support, just capturing when IPTV had a cut. Thay said that when the cut occurred, the bridge sent a general query and the client responses didn’t come back, so the group subscriptions are kicked. Those responses had to be loose somewhere. It is really strange, and had to be a Mikrotik issue, due that putting the Asus router itself results in no issues with TV, but putting the Asus as an AP through the ax2, results in same cuts.
Should be something related to MT and probably using wifi.
Actually it is not correct to stop a multicast stream immediately when there is no response to a query.
I don’t know if MikroTik use a well established IGMP implementation or have doctored their own (probably the latter) but the way it should work is: when a query is sent and a response received, the multicast group remains active again for some time X, and a new query is already sent at maybe X/2 or X/3 time, so when a single response is missed the stream is not immediately cut.
Similar to how a DHCP lease is extended not at the moment when it expires, but halfway through the lease time.
Probably a difference between your Asus router and the MikroTik router is that it handles this situation in a more sturdy way.
(this of course notwithstanding the issue with MikroTik WiFi not treating multicast optimally)
Probably you’re right! I really hope that the team can fix this, but I think they’re running out of ideas now. I will try to install an ethernet cable from first floor to connect the tv box wired, but I would like this bug to be fixed. I really want to use Mikrotik instead of Asus.
It’s also potentially the latter causes the former too, IDK. But if your at Wi-Fi basic rate, and stream does not fit, stuff is going to get dropped. And that dropped stuff might be IGMP.
Yes, there really should be multicast enhancement in the WiFi driver (multicast to unicast), but as he wrote it also happens with the Asus as an AP (and it undoubtedly has that) and is triggered by having the MikroTik router, it may be that the IGMP querier being buggy is the main cause.
Of course IGMP, being a datagram protocol, does not rely on the correct arrival of all queries and responses.
I think the time between queries should always be much shorter than the group timeout. A receiver that no longer wants the stream (e.g. when switching channels) should send a LEAVE message anyway.
Reading trough all of this, I think there are several issues at hand:
The ROS IGMP proxy querier encodes the max response time field wrong: First, the value is modulo 25.5 (255 = 0xFF), hence for 30s it is 4.4 = 30 - 25.5. Second, the max response time field is not just a 8bit binary value in 0.1s increments. Values above 12.8s (128 = 0x80) must be encoded as 8-bit floating point value. See RFC3376 Section 4.1.1. It seems to be another example of sloppy implementation of RFCs by MTs home-grown modules and lack of testing for RFC conformity.
As I understand it, the TV-box works well if connected with wired Ethernet to the Mikrotik router. Beside the problem above, the ROS IGMP proxy querier seems to work.
As the problem arises if connecting the TV-box with MT WiFi and M2U (multicast-to unicast conversion), the problem is probably there: To be able the send multicast packages individually as unicast to each STA interested, it needs to keep track of IGMP subscribers among WiFi STAs. For this, the WiFi AP internally also does kind of IGMP snooping and special handling of IGMP messages. My suspicion is there is something wrong with this, causing the observed delay for transporting multicast IGMP Query responses from the TV-box over WiFi.
You are right, the issue still exists when using the Asus as an AP connected to the ax2.
Dou you also see the delay of TV-box IGMP Group query response if connected with the ASUS WiFi to the ax2?
As you have a MacBook, did you use monitor mode of the integrated WiFi to capture all packets on your SSID’s WiFi channel, not only Unicast/Multicast/Broadcast going to your MacBook? This would allow to check what’s really going on on the Air and also to see multicast packets going to the TV-box MAC instead of multicast MAC because converted from multicast to unicast. And also to exactly see what the AUSUS does differently when used for WiFi and routing.
When TV Box is wired to an ethernet port of the ax2, there are NO cuts, only fast pixelations here and there. In a spanish Mikrotik forum, there are more users that report these pixelation when wired.
I have a theory. When a pixelation happens while wired, it would translate into a cut if wireless. I think it could be the same issue, but maybe I’m wrong. But no, there are no cuts when wired.
I’ll try to capture a cut using monitor mode of my MacBook and compare with a capture using the Asus.
I managed to capture in monitor mode while a cut occurred.
Here you can see the packets from ax2 to tv box (Commscope), and suddenly, some strange packets, seems that the conversation stops. I do not have too much more knowledge to see what is happening here. I will send the capture file to support in case they want to continue the investigation.