Quantcast
Channel: Kaltura - Latest posts
Viewing all articles
Browse latest Browse all 7410

Compiling the kaltura nginx with live rtmp

$
0
0

The idea is that on my my cluster has CE 11.18, centos 6.7,
Nginx is on a separate server.
ffmpeg is on the front node installed. ( rpm -q kaltura-ffmpeg
kaltura-ffmpeg-2.7.2-4.x86_64 )
html5lib are also on the front node ( kaltura-html5lib-v2.49-2.noarch )

The nginxconfigurations on the nginx server consists of nginx.conf with the rtmp directive, i am able to stream to it, i can see the ts packets in /var/hlsme and var/dashme getting created, in the kaltura.conf from the nginx directory i have added the two locations by hand as it seems the script did not auto add them , location /dashme {
open_file_cache off;
root /var/tmp;
add_header Cache-Control no-cache;
# To avoid issues with cross-domain HTTP requests (e.g. during development)
add_header Access-Control-Allow-Origin *;
}
location /hlsme {
open_file_cache off;
types {
application/vnd.apple.mpegurl m3u8;
}
root /var/tmp;
add_header Cache-Control no-cache; # Prevent caching of HLS fragments
add_header Access-Control-Allow-Origin *; # Allow web player to access our playlist
}

The problem is I cannot view the stream in any type of player not even in jwplayer, i get no error in the error logs from nginx.

In jwplayer - I get crossdomain access denied.( 2048 ).. and in the kaltura player, the loader just keeps spinning.
I have no var/www to add crossdomain.xml on the nginx...what should I do ?
The root for seems to be set in kaltura.conf and it is /etc/nginx/static, the folder did not exist, created it, added the crossdomain.xml. same results :frowning:


Viewing all articles
Browse latest Browse all 7410

Trending Articles