firewall issue with RTSP server on iOS -


i'm trying set rtsp server on iphone stream video content(c / objective-c). works great on local can't connect iphone network :

ffmpeg -i rtsp://82.101.x.x -f flv test.flv >tcp connection 82.101.x.x:554 failed: connection refused >rtsp://82.101.x.x: input/output error 

i'm fails because of firewalls&routers don't know how solve because believe client have initiate connection (play request ?). i'm new theses protocols, sample/help appreciated

you need setup port forwarding rule on router routing incoming connections on port 554 iphone's internal ip (typically 192.x.x.x or 10.x.x.x address)

http://portforward.com/ has tutorials how on routers.

additionally, you'll want iphone static ip when leave house , return, won't have setup port forwarding every time (again, done router config)

finally if don't have static ip isp (meaning, if external ip not 82.101.x.x) should setup dynamic dns free service dyndns.org


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -