Quantcast
Channel: support.jwplayer.com :: Streaming
Viewing all articles
Browse latest Browse all 2800

Embedding jwplayer for stream in local network without internet connection

$
0
0
i need to install this player to my server in local network without internet connection. i have: Ubuntu Server 16.04.2 LTS + mc + ngin 1.12.0 + nginx-rtmp-module 1.1.4 + some other programs + no firewalls on *nix/Windows PCs local network 1000Mbit/s whithout internet WindowsPC with vMix software (for streaming and videomix) I need: to embed jwplayer to simple web-page (index.html) and watch stream from local network over web brouser I can watch stream with vlc-plater (Open URL -> rtmp://10.0.0.157/live ) On web page i have error: Error loading stream: Could not connect to server All ports are open (i check it via telnet) My configs: # /usr/share/nginx/html/index.html jwplayer.key="[my key]"; Welcome to STREAM-Server! Welcome to STREAM-Server! Player is loading... jwplayer("myElement").setup({ width: "75%", height: "75%", file: 'rtmp://10.0.0.157/live', image: 'http://10.0.0.157/offline.jpg', aspectratio: '16:9' }); Thank you for using our server. Powered by nginx. # /etc/nginx/nginx.conf user nginx; rtmp_auto_push on; worker_processes auto; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } 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; } rtmp { server { listen 1935; application live { live on; } } } Where is my problem/error?

Viewing all articles
Browse latest Browse all 2800

Trending Articles



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