View Single Post
  #1  
Old 10-21-2017, 07:54 AM
korexaj korexaj is offline
Member
 
Join Date: Feb 2017
Posts: 63
korexaj is on a distinguished road
Default

How to get rtmpsrv to work in macOS


I have been trying to get this thing to work for a long time but have been extremely unsuccessful.

I followed different tutorials/guides including this one http://stream-recorder.com/forum/use...61.html?t=7661

but get stuck at the part that says:

Quote:
Configure your firewall to redirect RTMP traffic through a local port:
Code:
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
I have tried different methods to forward RTMP traffic (for macOS) as suggested on several StackExchange posts. This the the most recent command i have tried:

Quote:
echo " rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 1935 " | sudo pfctl -ef -
but when i run rtmpsrv it just doesnt do anything except from saying:

Quote:
Streaming on rtmp://0.0.0.0:1935

Any advice is appreciated.
Reply With Quote