PDA

View Full Version : [Solved] Rtmpsrv on Mac. Segmentation fault:11


seal
05-25-2017, 02:07 PM
Hi

I have a problem with rtmpsrv on Mac. It works on Mac ancient versions, but on Mac OS Sierra doesn`t work.

I try this.

First I 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

All OK

rtmpsrv

I obtain this, all OK until here

RTMP Server 2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

Play the stream, then I have this error

Segmentation fault: 11

Any ideas how to fix this?

Thanks

seal
05-26-2017, 06:04 AM
Ok. Forget it. I solved myself

I installed a fresh rtmpdump by homebrew and it's working now

Thanks :)

korexaj
11-21-2017, 08:52 AM
Ok. Forget it. I solved myself

I installed a fresh rtmpdump by homebrew and it's working now

Thanks :)

I cant get it to work on sierra. i tried homebrew version with no sucess so uninstalled it and currently using rmtpDump(KSV) with no success. it simply stays stuff at Streaming on rtmp://0.0.0.0:1935