Hi. I am also in the beginning of this setup. Perhaps we can help each other? Have you any chat we can connect and talk.
It's a real hassle to set up a stream. Test Streamlink cli first then implement it to TVheadEnd.
If you do this you can understand if it working before TVheadEnd