View Single Post
  #1  
Old 05-25-2017, 02:07 PM
seal seal is offline
Junior Member
 
Join Date: May 2017
Posts: 2
seal is on a distinguished road
Default

[Solved] Rtmpsrv on Mac. Segmentation fault:11


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

Last edited by seal : 05-26-2017 at 06:04 AM. Reason: Fix the title
Reply With Quote