Try page three.Hey, anyone know about this? In step 2 and 4 images are broken so i cant do what is instructed in the guide... i hope someone knows what to do. I use win7 64bit and don't know much about this stuff, only windows anyway.
Are you updating the Ubuntu or Debian one? If Debian, are you going to re-do everything on Debian 8 (Jessie)?I am working on an update to this so that way you can access the nginx.conf file from a windows share. I know that vm is a tad dated now as it is two years old. I will post it when I am finished.
The answer is yes, however I'm not sure you need OBS as part of your solution. Are you going to broadcast screen captures or just media files that are on your hard drive? If the latter, you don't need OBS.Can this be used as stated below?
jwplayer("Element").setup({
file: "rtmp://DOMAINNAME.COM/stream/flv:encoded.flv",
image: "http://DOMAINNAME.COM/stream/images/thumb.jpg",
width:"100%",
height: "90%",
stretching: "exact",
primary: "flash",
autostart: "false"
});
Feb 27 21:42:17 ThinkPad-Edge-E531 nginx[730]: nginx: [emerg] host not found in url "a.rtmp.youtube.com/live2/kiselev1975.bc4p-frw4-jw77-613g" in /etc/nginx/nginx.conf:81
Feb 27 21:42:17 ThinkPad-Edge-E531 nginx[730]: nginx: configuration file /etc/nginx/nginx.conf test failed
user www-data;
worker_processes auto;
#error_log /var/log/nginx/rtmp_error.log debug;
error_log /var/log/nginx/rtmp_error.log;
pid /run/nginx.pid;
events {
worker_connections 1024;
# multi_accept on;
}
http {
allow all;
deny all;
#access_log /var/log/nginx/rtmp_access.log;
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
root /var/www/html;
index index.html index.htm;
}
error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/html;
}
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
root /var/www/html;
}
}
}
rtmp {
server {
listen 1935;
chunk_size 8192;
#Restream
application live {
live on;
meta copy;
# Direct streaming:
# GamingLive
#push rtmp://broadcastEU.gaminglive.tv/push/sneaky4oe?secret=******************;
# HitBox
#push rtmp://live.hitbox.tv/push/sneaky4oe?key=************; #hitbox
# Cybergame source
#push rtmp://premium.cybergame.tv:1953/premium/sneaky4oe?key=*****************; #cybergame source
# dailymotion (restream.io)
#push rtmp://publish.dailymotion.com/publish-dm/*******?auth=****************************; #dailymotion
# Twitch source
# push rtmp://live-arn.justin.tv/app/live_xxxxxxxxxxxxx;
# Twitch source
#push rtmp://live-arn.justin.tv/app/live_xxxxxxxxxxxxxx;
# youtube source
push rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxxxx;
}
}
}