DVR and Authorization
Authorization
If you use auth, your auth backend have to recieve the type
and media_request
parameters with every request.
You can read about authorization on a separate page.
type
parameter describes a protocol: hls
, rtmp
, rtsp
, mpegts
and mp4
.
media_request
parameter gives a more detailed description of what has been requested.
Mappings betweed URL and media_request
are in the table below.
The first column contains only endings of URL, so /STREAMNAME/index.m3u8
really stands for this URL: http://flussonic-ip/STREAMNAME/index.m3u8
.
URL | media_request |
---|---|
/STREAM_NAME/index.m3u8 | hls_live-hls_mbr_playlist |
/STREAM_NAME/tracks-1,2/index.m3u8 | hls_live-hls_track_playlist |
/STREAM_NAME/mono.m3u8 | hls_live-hls_playlist |
/STREAM_NAME/mpegts | mpegts_handler-request |
/STREAM_NAME/index-1362504585-3600.m3u8 | dvr_session-hls_mbr_playlist-1362504585-3600 |
/STREAM_NAME/tracks-1,2/index-1362504585-3600.m3u8 | dvr_session-hls_track_playlist-1362504585-3600 |
/STREAM_NAME/mono-1362504585-3600.m3u8 | dvr_session-hls_playlist-1362504585-3600 |
/STREAM_NAME/archive-1362504585-3600.mp4 | dvr_handler-mp4-1362504585-3600 |
/STREAM_NAME/archive-1362504585-3600.ts | dvr_stream_handler-ts_file-1362504585-3600 |
/STREAM_NAME/archive/1362504585/3600/bootstra | dvr_session-bootstrap-1362504585-3600 |
/STREAM_NAME/archive/1362504585/3600/mpegts" | dvr_stream_handler-ts_stream-1362504585-3600 |
/STREAM_NAME/timeshift_abs-1362504585.ts | dvr_handler-timeshift_abs-1362504585 |
/STREAM_NAME/timeshift_rel/3600 | dvr_handler-timeshift_rel-3600 |
/STREAM_NAME/timeshift_abs-1362504585.m3u8 | hls_timeshift_playlist-hls_timeshift_abs-1362504585 |
/STREAM_NAME/tracks-1/timeshift_abs-1362504585.m3u8 | hls_timeshift_playlist-hls_track_timeshift_abs-1362504585 |
/STREAM_NAME/timeshift_abs_mono-1362504585.m3u8 | hls_timeshift_playlist-hls_track_timeshift_abs-1362504585 |
/STREAM_NAME/timeshift_rel-360.m3u8 | hls_timeshift_playlist-hls_timeshift_rel-360 |
/STREAM_NAME/tracks-1/timeshift_rel-360.m3u8 | hls_timeshift_playlist-hls_track_timeshift_rel-360 |
/STREAM_NAME/timeshift_rel_mono-360.m3u8 | hls_timeshift_playlist-hls_track_timeshift_rel-360 |