Sending rtsp camera streaming over internet

Firstly I would thanks you all again, this Forum is for sure the best and quick one I have ever seen, not only for the admins but even for all the users that share their knowledge. Thanks again so much.

I know, you're right but that's it, unfortunately. In this place I have a sim for internet connection, and here all provider, for not business uses, give you a private IP. Otherwise you can take an M2M sim, but cost increases and the amount of available traffic is very low.

MQTT works in a really impressive way. Honestly I thought it was designed for quick and light messages, and that wouldn't be the best solution for video stream. Well, probably I was wrong.

I made some test but apparently without any change as result, using within mp4frag "Repeated true or false" or even "Time Limit = -1) in order to disable Repeated option. Anyway, in my particular situation I don't care if some segments are corrupted or missed. Spo at the end I set: Size=5 Extra=1 Pre Buffer=1 Time Limit=-1

  1. Last thing.

At the end, using mqtt the streaming flow must be always active. I mean the publisher must start it and keep the flow running, for ever. if I'm not wrong. This mean lots of unused streaming messages. There is a build in solution that you think can be utilized in order to start the streaming only when the mqtt client is "listening"? Or should I think to some kind of feedback, like a first message published by the client that tell to node-red to starts sending the video.