Is it possible to get a live stream programmatically?

Thank you for your reply.

I’m full aware of the risks involved while doing this. And I didn’t find a hole. I’m accessing my server as I normally access any website on the internet. I’m not evading anything.

I would have done what you suggest, a tunnel, but (mind you I’m not an expert) all connections go through a main proxy. I don’t have direct internet access so to speak.

The main question is… is it allowed or not? to connect directly into a live stream.