Welcome! Log In Create A New Profile

Advanced

Pull from HLS to trigger non-static RTMP pull

September 30, 2014 06:54AM
I have set up an RTMP relay of all streams on a remote location. This works fine as long as there is an RTMP request to trigger the pull from the remote server. However HLS requests only work for as long as the RTMP request is present.

Is there any way to get HLS (or DASH) requests to trigger the RTMP pull?

I was wondering if I am approaching this the right way. Maybe it would be better to set up the server as an http proxy to the hls and dash streams from the origin server. Any thoughts?

I am running nginx_1.4.6-1ubuntu3.1 patched with the rtmp module pulled from git.

My RTMP server application config is...
application live {
live on;
hls on;
hls_path /tmp/live;
pull rtmp://89057213.r.cdn77.net/89057213;

}

My server config is...
location /live {
# Serve HLS fragments
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}
root /tmp;
add_header Cache-Control no-cache;
}
Subject Author Posted

Pull from HLS to trigger non-static RTMP pull

simonb September 30, 2014 06:54AM

Re: Pull from HLS to trigger non-static RTMP pull

simonb September 30, 2014 07:23AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 256
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready