Try the openvcx openvsx stream processor component from github.com/openvcx/openvcx
A command line like this would ingest the RTMP stream and output it for Chrome, Safari, iOS, Android.
bin/vsx -v --capture=rtmp://x.x.x.x/bla/lalala --live=8080 --mkvlive --httplive --rtsp --flvlive
You may also need to transcode it with --xcode=... command line. More info on that here http://openvcx.com/vsxuserguide.php