What's new

IPTV stops after 260 seconds

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Juggler

Occasional Visitor
Hello!
Internet provided via GPON bridge HG8310M.
There are some VLANs: 0, 1, 30, 32, 60, 4081.
If I plug my PC directly into the bridge, VLC plays udp://@239.255.*.*:5500 "forever".
If I connect my pc via AX68U lan1 port VLC plays ok, but stops playing after 4:16 seconds, which is around 260 seconds (some number found elsewhare on the internet when I was searching for IPTV, VLAN, IGMP, Multicast routing). Same thing happens over wifi and android VLC. So it is definitely some AX68U settings I'm missing.
AX68U default router mode config (firmware 388.1 - latest at the time of writing).
I tried to set almost every combination on AX68U LAN/IPTV page without any luck. Tried IGMP Wireless settings, no luck.
Any help would be greatly appreciated.
Not posting any configs/logs since don't which ones are relevant to the problem.
 
Plugging directly in vs going through a router are very different as far as multicast is concerned. I believe the set top TV boxes (which is what carrier IPTV is designed to work with) probably send a join request or other type of heartbeat every so often to keep the feed active. You might have to configure IGMP/UDP proxy or something similar on the router to get it to stay working, or there may be something within VLC you can tweak. If the router has the option for IGMP snooping you can see if changing that impacts anything but more likely your client updates are not making it to the upstream router at the ISP.

The LAN-> IPTV page is the stuff you need to start with, once (if) you get that working then you may need to tweak wireless multicast settings to get it working there. Don't suppose your carrier is listed in the profiles?
 
probably send a join request or other type of heartbeat
Maybe, but since VLC player is working fine when plugged directly, there is no problem with any type of join or heartbeats, right?
IGMP/UDP proxy
Tried everything - nothing helps.
carrier is listed in the profiles
No, carrier not listed in profiles, also I tried all LAN->IPTV settings, still stops.

Also, I tred UDP Proxy (UDPxy) on that page. It states, that udp proxy can convert multicast UDP streams to unicast HTTP streams.
"Enter the port (such as 4000) that you want to assign for the IPTV application, then use this format to enter the address in the play list to watch IPTV streams: http://[Router IP]:[Udpxy port]/[protocol]/[channel IP address]:[channel port]
(such as http://192.168.1.1:4000/udp/239.255.1.1:5000 or http://192.168.1.1:4000/rtp/239.255.1.1:5000)."
This also do not work at all, not for a second!
And it kills the udp://@239.255.*.*:5500 in VLC!
 
Last edited:
Maybe, but since VLC player is working fine when plugged directly, there is no problem with any type of join or heartbeats, right?

Tried everything - nothing helps.

No, carrier not listed in profiles, also I tried all LAN->IPTV settings, still stops.

Also, I tred UDP Proxy (UDPxy) on that page. It states, that udp proxy can convert multicast UDP streams to unicast HTTP streams.
"Enter the port (such as 4000) that you want to assign for the IPTV application, then use this format to enter the address in the play list to watch IPTV streams: http://[Router IP]:[Udpxy port]/[protocol]/[channel IP address]:[channel port]
(such as http://192.168.1.1:4000/udp/239.255.1.1:5000 or http://192.168.1.1:4000/rtp/239.255.1.1:5000)."
This also do not work at all, not for a second!
And it kills the udp://@239.255.*.*:5500 in VLC!

Unfortunately no, multicast directly connected vs. through a router is completely different.

First thing you have to keep in mind, home router manufacturers added multicast support for one particular thing - forwarding IPTV service to a set top box. Over time they added some additional features like IGMP proxy but it really is not a primary function of the router, they had to do it to gain some more market share with people who use those ISPs, that's about it.

Professional routers use PIM to forward the data and build the multicast "tree". Your ISP is likely using that on their upstream router (in a building somewhere near you), so when you plug directly in, your ISP router receives your IGMP join, then PIM takes care of everything beyond that.

Home routers like the Asus don't support PIM, instead they use something called IGMP Proxy (they call it "multicast routing" but that is a gross exaggeration) to make your ISP think that the directly connected device (your router) is the one joining, when in fact it is really sort of NAT'ing IGMP from a device behind it. In theory (and often in practice) it does work, but it can be very particular.

Now to add more confusion, the "IPTV" page is under LAN but in reality it is a mix of LAN and WAN stuff. Some of the settings affect the WAN only, some affect the LAN only, some affect both (and one setting can change what another setting affects).

I haven't used the features on the Asus but from what I can tell - if you set an "STB port" - that is telling the router to put that LAN port bridged directly into the WAN VLAN for IPTV. (I don't want to take down my internet to try it but if you wanted to you could SSH into the router and use "robocfg show" to see what VLANs are assigned where with each setting). This setup theoretically means it bypasses the router, firewall, etc and essentially directly connects the LAN port to the ISP's upstream router. I'm not positive on that but it looks that way.

Whereas if you don't select an STB port and instead select Multicast Routing (IGMP Proxy) then any LAN port should be able to join the stream, but it has to play nicely with IGMP proxy, firewall, etc, and sometimes having more than one device doing multicast will confuse it and interrupt things. Since many LAN/IOT devices use multicast for local communication, sometimes that can also confuse the router. I believe several of their routers will not let you do both an STB port and Multicast Routing at the same time, it is one or the other, because they do totally different things which conflict with each other.

Then the other settings all come into play too. "Fast Leave" depends on your ISP, it can break things, or it might be the only way to get it working. IGMP Snooping/Efficient multicast, this is mostly a LAN setting, but it can break stuff too (but not having it enabled can consume LAN bandwidth and possibly slow down your wifi). DHCP routes is if your set top box requires some special parameters to be passed to it via DHCP. Etc, etc. So everything has to be just right. If you can't find someone online that has figured out the perfect combo for your ISP, you may just have to keep toying with stuff.

First thing I'd try is downgrading to 386 code base (388 is very new) and factory reset. Then you can try setting your PC port to be an "STB" port, but be aware that it may not have full/normal internet access and if it does, it may be bypassing the firewall and not have all the features a normal port would. Then you could try disabling that and instead enabling multicast routing/igmp proxy and toying with the different settings for fast leave, routes, and snooping.

This asus page gives a bit of info on what each setting does, but not a ton https://www.asus.com/us/support/FAQ/1011708/

When you plugged your PC directly into the ISP device, were you setting any VLANs or trunking on the PC? If not then it sounds like they aren't using VLANs for IPTV but that would be strange since you said they have several VLANs. Maybe they allow joins over both VLAN 1 (default/untagged) and the IPTV VLAN, dunno.

Then if and when you get it all working, you need to toy with the wireless settings to make things work properly there, however that is usually less fussy (though it can certainly consume a good amount of wireless bandwidth and CPU).

UDP proxy converts multicast into unicast. So if you use that, you would need to tell VLC to access the http:// stream, the udp:// stream won't be accessible anymore, it is effectively behind a NAT now. If VLC can't figure out what to do with that stream you may need to tweak some settings to tell it what you're trying to do.
 
The problem lies somewhere in igmpproxy. If I kill it and start again - streaming continues. Somehow igmpproxy is not functioning correctly.
Here is the similar issue with igmpproxy https://forum.netgate.com/topic/101178/igmpproxy-stream-stops-after-4-mins
I tried turning snooper on and off - no effect on timeout.

You may need to reboot after disabling IGMP snooping, not sure. Restarting IGMP proxy fixing it for another 4 mins doesn't necessarily mean IGMP proxy is broken, just that it restarts the timer for whatever is broken.

Also have you tried to enable/disable fastleave? That essentially changes the IGMP messages between version 2 and 3 which may have an impact.

Do you have any set top boxes at all? If not you may just be able to disable the IPTV stuff at the top and use IGMP proxy only. The fact that you were able to plug your PC directly in without the issue tells me they seem to be accepting multicast over VLAN 1/default (unless you did VLAN configs on your PC?). Disabling the IPTV stuff would essentially replicate that, and IGMP proxy then just forwards your requests to VLAN 1.
 
Hmm, it seems like AX68U with newer firmware uses mcpd (instead of igmpproxy ac68u), since iptv starts streaming even when everything @ LAN-IPTV page set to disabled/off. But it stops after 260 seconds no matter what.
Killing and starting mcpd stops and resume upd multicast streaming.
"Broadcom's proprietary Multicast Proxy Daemon", but there are no any docs on it.
 
Last edited:

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top