IPTV Automatic Network changes rtp-URLs and removes Source-IP of imported M3U
- Add IPTV Automatic Network using the following URL: https://grinch.itg-em.de/rtp_ssm_sample.m3u (also attached)
- Go to Muxes and edit the created Mux of this network.
The file contains 1 Channel with the following URL: rtp://[email protected]:10000
But Tvheadend created the mux with URL: rtp://18.104.22.168:10000
So it removed the sourceIP and the stream is not working.
Updating the Mux-URL in the webinterface again to rtp://[email protected]:10000 works and the stream is then also working as expected (after selecting the correct Interface). But after the re-fetch period the URL is being set again.
It seems the m3u importer is filtering/changing the URLs for rtp.
If it would be that easy, I would have done that
But I'm absolutely new to Tvheadend and failed building the master myself. It fails with
tvheadend/build.linux/ffmpeg/build/ffmpeg/include/libavutil/mem.h:342:1: error: ‘alloc_size’ attribute ignored on a function returning ‘int’ [-Werror=attributes]
342 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~
As there is no prebuilt package later than 2017 available, I used the most recent stable package for ubuntu.
I installed the latest unstable package which is HTS Tvheadend 4.3-1857~g221c29b40 on a testmachine and indeed the bug seems to be fixed. Will try to switch to that version on my NAS as well and see if that helps. Hopefully the bug can be closed then.