Retransmission

Description of some retransmission details that must be kept im mind.

Quality

Adjusting the quality of the created stream (create restream, register stream) is computationally heavy, so the resulting stream bitrate may vary depending on available hardware.

TTL

A non-persistent restream (persistent=0) is stopped after LUNA_STREAMS_RETRANSLATOR_IGNORED_RESTREAM_TTL seconds (default 60) of inactivity. While viewers are connected (HLS requests or RTSP read sessions) the restream stays alive and its database records are kept; when the last viewer leaves — or if no viewer ever connected — the restream (the transcoder process, the mediamtx path and the database records) is stopped after the TTL elapses. Persistent restreams (persistent=1) are not stopped by the TTL check.