View Single Post
  #14  
Old 04-22-2015, 01:19 PM
miroman4o miroman4o is offline
Junior Member
 
Join Date: Apr 2015
Posts: 1
miroman4o is on a distinguished road
Default

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


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?
Reply With Quote