I am creating multiple streams based on network speed:
exec ffmpeg -i rtmp://localhost:5001/$app/$name -async 1 -vsync -1