cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Recordings only grabbing 6 minutes or so of each show

Billbrown2024
Investigator
Investigator

Now full disclaimer here - I am running a 3rd party router. Specifically a ubiquiti cloud gateway fiber. Not realising I wouldn't be able to run the EE hub in bridge mode it led me down a lot of rabbit holes but I eventually, or so I thought, managed to get everything working.

99% of that is true! All channels work perfectly. All on demand works fine. The ONLY thing that keeps going wrong is recording. It gets a few minutes at the start of the show and then just says the recording has ended.

It will occasionally record a second time that has all the content but this barely happens.

Any ideas please? Other than plug the EE box back in because that will come with a whole heap of pain and just isn't viable given my network setup.

17 REPLIES 17

Looking at those docs, quickleave looks like a possible candidate - make sure it's disabled.

One other possible cause is this: https://github.com/fabianishere/udm-iptv/issues/410

Potentially caused by a recent Unifi OS update.

naylor2006
Established Contributor
Established Contributor

That's the problem with Unifi OS, when it updates it can wipe out any custom configuration or make changes to dependencies that will break items not native to the OS. If you want to configure a 3rd Party Router for IGMP you are much better off with one that you can actually add to the boot config via CLI. For that reason the ER-X will always be used here. I have a Cloud Key to provide Unifi OS on the network for AP's etc.

I did dig out a working config that I was helping another guy with last year, it might not translate directly to your setup but it was working for him:

## Example configuration for udmp-iptv ##
# Interface on which IPTV traffic enters the router
IPTV_WAN_INTERFACE="eth4"
# ID of VLAN which carries IPTV traffic (use 0 if no VLAN is used)
IPTV_WAN_VLAN="0"
# Name of the IPTV VLAN interface
IPTV_WAN_VLAN_INTERFACE="iptv"
# IP ranges from which the IPTV traffic originates (separated by spaces)
IPTV_WAN_RANGES="224.0.0.0/4 109.159.247.0/24"
# DHCP options to send when requesting an IP address
IPTV_WAN_DHCP_OPTIONS="-O staticroutes -V IPTV_RG"
# LAN interfaces on which IPTV should be made available
IPTV_LAN_INTERFACES="br0"
# Disable quickleave for igmpproxy
IPTV_IGMPPROXY_DISABLE_QUICKLEAVE="false"
# Enable debugging for igmpproxy
IPTV_IGMPPROXY_DEBUG="true"
IPTV_WAN_DHCP="false"
IPTV_WAN_STATIC_IP="10.20.30.1/24"
IPTV_IGMPPROXY_PROGRAM="improxy"
IPTV_IGMPPROXY_IGMP_VERSION="3"

 

EE900 | Nokia ONT | Ubiquiti ER-X | EETV Box Pro (IP Mode) | Unifi CK2 | 6x Unifi U6+ | 4x Unifi SAK Ultra
Billbrown2024
Investigator
Investigator

Hah Naylor - good to see you again. Was very confused when I got my notification email and it wasn't from reddit.

I've just got in from work and i'm exhausted. Soon as I can focus and read through all this information I'll have a proper read and come back to you both.

Also just noticed that a mod has to keep removing my email signature. I can't find what is causing that either! I literally just created this account and posted which means that's a very stupid default to on option. 

Leanne_T
EE Community Support Team

Hi there @Billbrown2024 

Thanks for coming back here. 

If you have a signature set up in your profile settings this can be edited by going to your Profile, My Settings then Personal information and removing the signature. If this was not set up in your profile, sometimes replying via email and not on the community using a web browser can transfer an email signature. 

Thanks 🙂

Leanne.

Right I'm slightly less out of it tonight, lets see if I can make some sense of your very detailed reply and respond myself!

The script crashing sounds interesting. Although I would kind of expect that to affect live tv - unless its reloading so fast that the feed is buffered enough to not affect it, but the crash still gives the signal for the recording to end. I wonder....I imagine there must be some logs somewhere that would show this if I can find them and translate them.

Once again "need" is probably a strong word 😂 I just wanted a really strong system that I would have full control of so that, when i eventually learnt more, I could do what I wanted to do. Custom firewall rules and such. I have 3 wifi points in the house as its the only way to get full coverage, I also have 3 ubiquiti cameras and a doorbell which are all controlled purely by the Fiber CG. Tbh as far as their gateway offerings go that one is kind of near the bottom. I considered going rack mount dream machine at one stage - now THAT would have been overkill for sure, although it would have gone nicely with my racked plex server.

I also just love ubiquiti's interface. There is so much information built in, nicely laid out. Great features like wifi signal analysing to figure out where the black spots are in the house. That kind of thing, all neatly wrapped up in one package.


Yeah I feel like my external IP shouldn't be changing as often as the recordings were failing. Also do note my use of "were" because over the last couple days everything has been behaving and I have literally changed nothing....

I'm almost certain I had the EE box set to a static IP but now its not....hmmm.

Very kind offer about the ER-X. I hope it doesn't come to that but will certainly keep that in mind as virgin has now been cancelled so there's no going back for me and if I can't get this TV to work properly it'll be an ER-X or a divorce most likely!

I'm running 5 VLANS at the moment. My main network, one for my plex server, one for the EE TV, one for my security cameras etc and an IoT for all that other garbage.

As for the options with that script. Honestly I just hit BT because that was what quite a few folks said "just worked" with EE. The only choices given were Port which IPTV enters router, so that was obviously my router WAN port, the configuration profile (BT), the vlan ID that my EE TV is on (3) and IGMP version. V2 or v3. I couldn't actually find out which one to go for so I chose 3 figuring if it didn't work i could drop back to 2, but 3 worked (for the most part).

=== Configuration ===
WAN Interface: eth4
WAN VLAN: 0 (dev iptv)
WAN DHCP: false (options "-O staticroutes -V IPTV_RG")
WAN Static IP: 10.20.30.1/24
WAN Ranges: 224.0.0.0/4 109.xxx.xxx.0/24
LAN Interfaces: br3
IGMP Proxy quickleave disabled: false
IGMP Proxy debug: false
=== IP Link and Route ===
14: eth4@switch0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet 10.20.30.1/24 scope global eth4
valid_lft forever preferred_lft forever
10.20.30.0/24 proto kernel scope link src 10.20.30.1

Notice that quickleave is disabled. Someone else mentioned that later in this thread I'm sure I saw that last night - just not got back to it yet.

 

I do believe it is disabled. That is an interesting issue thread I'll have to read though. 

The good thing about UnifiOS is that you can backup the entire system (which I have now done) so should anything break I can at least always roll it back to this point. 

@Naylor7 that looks pretty similar to what i've got I think?

Finally @Leanne_T thanks for the reply. Guess i'll stop replying to the thread by email then as that is what I have been doing up until now.

naylor2006
Established Contributor
Established Contributor

Look at the feature sets, it makes absolute sense to have the Fibre model given it has storage on there which you will be requiring, I mean the only other option is the Ultra for Gateways which doesnt have POE or Storage, expect you are using those. I use a CloudKey here as EdgeMax Routers dont have the Unifi OS so that is taking care of the Unifi side..., I really like the OS. I already had an ER-X there running for Virgin DHCP on the WAN, moving to BT just mean changing it to PPPOE and than as luck would have it, you can build an IGMP proxy that is super robust.

With all that said, I still REALLY want a CloudGateway but there is quite a few things that I have configured on my ER-X and until there is a good reliably path between the two I expect ill just keep running, with EdgeOS 3.0 just being released they are still supporting it too!

ER-X would be painful for you, you need to shift all your Unifi stuff to a CloudKey Gen2 +, get a POE switch unless you are already using one separately....The ER-X is good practise as my Enterprise Switches are work are also Debian based.

Anyway back to the problem.

I was pondering if the additional streams that open were becoming problematic.

So your WAN is eth4 and what is the br3? This is bridge right? Which interface is the EETV Box connected to?

Are you using switch0 for anything and if so which interfaces are assigned to it? I made sure to remove my IPTV interface from switch0 separating it.

Are any of your interfaces trunk ports, IE that have access (native) VLANID then tagged VLAN also?

Guess what Im trying to understand is if your IPTV port and its traffic is "truly" segregated. 

 

 

EE900 | Nokia ONT | Ubiquiti ER-X | EETV Box Pro (IP Mode) | Unifi CK2 | 6x Unifi U6+ | 4x Unifi SAK Ultra

I could have sworn I replied to this! I do apologise for going radio silent especially after all the help you have given me.

For the record....everything is just working now. I keep asking the other half if there has been any issues fully expecting an imminent complaint about something - but its all been fine. I don't remember changing anything either so is it possible that my recording woes were just bad timing coinciding with some other kind of issue? I truly don't know.

Anyway to answer your questions for the sake of clarity, well that is to say I would if I understood.

My WAN is actually port 5. I'm assuming br3 is the bridge to the EE box, which is on port 3 so that tracks.

I'm not even sure what switch 0 is!

I shouldn't have any trunk ports setup. I have 5 VLANS, one for my PC, Home Assistant etc. One for plex. One for the EE box. One for my cameras/doorbell security stuff and the final one is all the IoT devices and i've not noticed any devices talking across vlans to each other. It did actually cause some issues with home assistant because of that but at least it proved that its doing what I wanted it to do and truly keeping everything segregated.

Would probably be easier to explain with screenshots but alas, we don't have that function.