fix rtmp / livestream on mac