I'm trying to set up an rtsp server on my iphone to stream video content(C / objective-C). It works great on local but I can't connect to my iphone from network :
ffmpeg -i rtsp://82.101.X.X -f flv test.flv
>TCP connection to 82.101.X.X:554 failed: Connection refused
>rtsp://82.101.X.X: Input/output error
I'm almost certain this fails because of firewalls&routers but i don't know how to solve this because I believe client have to initiate a connection (PLAY request ?). I'm new to theses protocols, any sample/help would be appreciated