I setup a streaming website using nginx as my media server. Live streams have been working well till I attempted to simultaneously push the live stream to facebook live. The stream came through to facebook but it stopped streaming on on the website. In the end I would like to push my stream to website, youtube and facebook simultaneously. How can I change my settings to achieve this?
My current nginx conf setting is:
rtmp {
server{
listen 1935;
chunk_size 4000;
allow play all;
application live {
allow play all;
live on;
record off;
hls on;
hls_nested on;
hls_path /HLS/live;
hls_playlist_length 60;
hls_fragment 3s;
on_publish http://192.168.0.5/TestSite/Live.php
push rtmp://live-api.facebook.com:80/rtmp/key;
}
}
}