Question / Help nginx Configuration Question

aj-stream

New Member
Hello,
I was able to successfully setup a new ubuntu (18.04) server and installed nginx compiled with rtmp support.
(for reference, I used this guide/howto)

The video source is a laptop running OBS.

I tested the setup, and I am able to watch the rtmp stream via VLC.

Now, I am trying to encode into HLS.
I'm trying to follow this guide.
The guide at one point says: Options 1: From existing rtmp stream already in h264

Do I take that piece of code and replace the previous nginx configuration "application"?
Or do I add it below the present nginx "application"?
Code:
application show {
    live on;
    pull rtmp://example.com:4567/sports/channel3 live=1;
}

Thank you.
 
Top