This is my current rtmp configuration for localhost, everything works fine
application big {
live on;
exec /usr/local/bin/ffmpeg -re -i rtmp://localhost:1935/$app/$name -vcodec flv -acodec copy -f flv rtmp://localhost:1935/anotherapp/${name};
}
application anotherapp {
live on;
}
This is what I'm trying to achieve.
application big {
live on;
exec /usr/local/bin/ffmpeg -re -i rtmp://142.204.134.93/red5app/12345 -vcodec flv -acodec copy -f flv rtmp://localhost:1935/anotherapp/12345;
}
application anotherapp {
live on;
}
Thank you in advance.
source
share