Using the hls stream

Hi all.

Is there a way that I can grab the HLS stream instead of using the front end.

Pre-Req:

  1. Live stream, is always the same stream, as in the RTMP key
  2. OBS is used to stream to the Peertube instance.

Requirement:
Use the HLS stream to display on webpage.

Thanks
h

Hello,

Yes: use the API to get HLS stream URL: https://docs.joinpeertube.org/api-rest-reference.html#tag/Video/paths/~1videos~1{id}/get

Actually, I was more after the directory where the streams would be saved. I use the same stream for all feeds as it is an always live feed…

I have not been able to get the api working… my bad… just a noob at these kind of things.

H

=== edit -====
got it working
now I am trying to find if there is any caching happening on the peertube… the feed does not seem to refresh in the screen I display…

Or if it is possible to delete the hls output after the stream is finished.
=========end edit=====