View Single Post
  #15  
Old 12-15-2015, 06:54 AM
iamsumit iamsumit is offline
Member
 
Join Date: Dec 2015
Posts: 72
iamsumit is on a distinguished road
Default

Re: How to use rtmpdump with rtmpsrv in Mac OS X


Quote:
Originally Posted by miroman4o View Post
Here are the correct port forwarding rules for Mac OS X Yosemite:

enable internal port forwarding:
sudo sysctl -w net.inet.ip.forwarding=1

apply the pf rules:
echo '
rdr pass log on lo0 proto tcp from en1 to any port 1935 -> 127.0.0.1
pass out on en1 route-to lo0 inet proto tcp from en1 to any port 1935 keep state
' | sudo pfctl -ef -

check the pf rules:
sudo pfctl -s all

clear the pf rules:
sudo pfctl -F all -f /etc/pf.conf

Thanks to http://serverfault.com/questions/421...to-localhost22

I want to capture the stream urls from http://www.drakulastream.eu/tennis-l...ing-video.html, unfortunately the rtmpsrv crashed with Bus error: 10

At the end I used Linux rtmpsrv with the IPTables example and captured the following:
rtmpdump -r "rtmpe://46.246.124.71:1935/live/" -a "live/" -f "LNX 11,2,202,457" -W "http://www.lshstream.com/jw/jwplayer.flash.swf/[[DYNAMIC]]/2/[[DYNAMIC]]/3" -p "http://www.lshstream.com/embed.php?u=bucharest1&vw=640&vh=360&domain=live.d rakulastream.eu" -y "bucharest1" -o bucharest1.flv

Does anybody knows anything about the dynamic flashplayer parameters?
I ran the above port forward command. The pf rule has been added and enabled. And then i started rtmpsuck.
Now
1. Some (almost all) of the rtmp streams don't run with this pf enabled.
2. rtmpsuck doesn't return any output in the terminal window. It just keeps on showing Streaming on rtmp://0.0.0.0:1935.

Seems like many other also before me faced this issue, can anyone help me here and update what was the solution that fixed it for them?
Thanks!

Last edited by iamsumit : 12-15-2015 at 12:33 PM.
Reply With Quote