Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Cannot push rtmp to Vimeo or Microsoft

$
0
0
Hi

In short im trying to use NGINX to push a rtmp stream to Microsoft Office and Vimeo for a live event .
The setup is as follows:
OBS to encode on a PC
Streams to NGINX server
NGINX server push to Vimeo and Microsoft
Streaming works fine on the local network and direct from OBS to both destinations but not when I push it through NGINX.

Copy of conf file below

user nginx;
worker_processes auto;

error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;

load_module modules/ngx_rtmp_module.so;

events {
worker_connections 1024;
}

rtmp {
server {
listen 1935;
application live {
live on;
interleave on;
#hls on;
#hls_path /tmp/hls;
#hls_fragment 15s;
#dash on;
#dash_path /tmp/dash;
#dash_fragment 15s;
record off;
# push to Vimeo
push rtmp://rtmp-global.cloud.vimeo.com/live/fdb0aXXXXXXXXXXXX339924cb4ac2;
# push to Microsoft Live Event
push rtmp://kebnu7wpt7uceeshq6mgh6z2ma-streamaase1su011-aase.channel.media.azure.net:1935
app=live/app568faf35XXXXXXXXXXXX2bffd6f77;

}

# video on demand for saved content
application vod {
play /var/vod;
}
}
}

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;

sendfile on;
#tcp_nopush on;

keepalive_timeout 65;

#gzip on;

include /etc/nginx/conf.d/*.conf;
}


# TCP/UDP proxy and load balancing block
#
#stream {
# Example configuration for TCP load balancing

#upstream stream_backend {
# zone tcp_servers 64k;
# server backend1.example.com:12345;
# server backend2.example.com:12345;
#}

#server {
# listen 12345;
# status_zone tcp_server;
# proxy_pass stream_backend;
#}
#}

Any assistance apreciated

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>