host=https://livesim.dashif.org
Set a positive TTL in seconds
The live stream is annotated with DASH 6th-edition Alternative-MPD Replace events. At each break the player resolves an ad-decisioning endpoint (default /sgai/ads), plays the returned ad pod (a List MPD), then resumes the live stream. Grammar:
/sgai/ads
( <off>:<dur>[,<off>:<dur>...] | p<period>:<dur> )[;key=val;...]
off:dur
p60:20
Optional ;key=val settings after the break list:
;key=val
Example:
30:15,90:15;skipafter=5;nojump=2
travel
safari
sailing
boats
sessionId and interests are added as MPD-URL query parameters and propagated to the ad-decisioning request via Annex I, so each viewer can receive a different, interest-steered ad pod. With no interests the decisioning returns no pod and the viewer sees the base ad (the AD BREAK slate). Watch ad decisions and impression beacons live at /sgai/session_status.
The MPD advertises two or more service locations ("CDNs") — all pointing back to this server — plus a root <ContentSteering> element referencing a steering endpoint here. The player polls it, gets a PATHWAY-PRIORITY ordering with a TTL, and switches CDN accordingly. Grammar:
<ContentSteering>
PATHWAY-PRIORITY
<loc1>,<loc2>[,<loc3>...][;key=val;...]
trigger
rotate
alpha,beta;ttl=20
Watch the per-CDN segment request distribution and the current priority live, and drive a change with the Switch CDN / make-top buttons, at /steering/session_status, or via the API at /api/steering/sessions[/<sid>] and POST /api/steering/sessions/<sid>/switch. To move a whole group at once use /api/steering/groups[/<csid>] and POST /api/steering/groups/<csid>/switch, or open the monitor with ?csid=<group>.
/api/steering/sessions[/<sid>]
POST /api/steering/sessions/<sid>/switch
/api/steering/groups[/<csid>]
POST /api/steering/groups/<csid>/switch
?csid=<group>
Patterns of cyclic segment response codes
A square-bracket-surrounded list of comma-separated patterns, like
[{code:404,cycle:30,rsq:0,rep:video},{code:403,cycle:60,rsq:1}]
Traffic Patterns for one or more BaseURLs
Specify time interval for loss patterns for one or more BaseURLs with "up (u)", "down (d)", "slow (s)", or "hang (h)" states, like
u50d10,u10d50
d1,u1,u45s10h5