Skip to content

URL Parameters

Torbjörn Einarson edited this page Apr 24, 2023 · 14 revisions

Parameters implemented in livesim1 and livesim2

The following table should include all URL parameters in either livesim1 or livesim2

Parameter Values Description livesim2 livesim1
tsbd int TimeShiftBufferDepth in seconds Yes Yes
segtimeline 1 (=true) Generate live MPD using SegmentTimeline with $Time$ Yes Yes
ato float or "inf" availabilityTimeOffset in seconds (inf = infinity, all segments available) Yes Yes
chunkdur float Chunk duration for on-the-fly chunking Yes Yes
ltgt int Low-latency target in milliseconds Yes No
timesubsstpp string List of comma-separated languages with auto-generated stpp subtitles Yes No
timesubsdur int > 0 Cue duration of generated time subtitles in ms (default 900) Yes No
timesubsreg 0 or 1 TTML region 0 (bottom) or 1 (top) for time subtitles Yes No
start or ast int >= 0 Sets the availabilityStartTime relative to Epoch Yes Yes
stop int > 0 Sets the stop time (for time-limited events) No Yes
startrel int Sets relative startTime via Location with start parameter No Yes
stoprel int Sets relative stopTime via Location with stop parameter No Yes
dur int Sets a presentation duration for multiple periods No Yes
timeoffset int Sets time offset in second vs NTP No Yes
init int > 0 Offset time for early init segment availability No Yes
mup int MinimumUpdatePeriod in seconds Yes Yes
modulo int > 0 Make this number of time-limited sessions every hour No Yes
tfdt 1 (=true) Use 32-bit tfdt (needs more recent availabilityStartTime) No Yes
cont 1 (=true) Continuous update of MPD AST and segNr No Yes
periods int > 0 Make this number of periods per hour No Yes
xlink int > 0 Make this number of xlink periods per hour No Yes
etp int > 0 Make this number of early terminated periods per hour No Yes
etpDuration int > 0 Add a presentation duration for multiple periods No Yes
insertad 1 (=true) Insert an ad via xlink No Yes
continuous 1 (=true) Insert period continuity signaling (only valid when periods_per_hours is set) No Yes
segtimelinenr 1 (=true) Generate live MPD using SegmentTimeline with $Number$ Yes Yes
baseurl url string Add this top-level BaseURL in all configurations No Yes
peroff int > 0 Period offset in seconds No Yes
scte35 int > 0 Add these many SCTE-35 splice insert periods every minute No Yes
utc string hyphen-separated list of UTCTiming methods and make into list Yes Yes
snr int Set startNumber in MPD. -1 translates to no value in MPD (fallback to default = 1) Yes Yes
spd int > 0 suggestedPresentationDelay in seconds Yes Yes
sidx 1 (=true) Insert sidx box in every segment No Yes