Day 2 · 25 min read
Lab Walkthrough
Annotated lab steps to review during and after the in-person class.
Purpose of this page
The Day 2 lab is a hands-on session where you:
- Configure the SDK on a local Ubuntu host.
- Wire it to a sample player.
- Issue and consume real licences.
- Exercise the common policy patterns.
The exact steps are class material (NDA). This page is a scaffolding for you to fill during and after the lab. Treat it as a personal playbook.
Lab note
Create internal.mdx in this folder during class with the actual command names, file paths, env vars, and any gotchas you hit.
Pre-lab checklist
- Laptop on Ubuntu LTS, sudo available.
- Latest Chrome.
git,curl,python3,pip,opensslinstalled.- Outbound HTTPS unrestricted to provisioning + lab endpoints.
- VPN off / configured to not MITM TLS.
Lab phases (typical shape)
- Setup — install SDK, configure credentials, verify it starts.
- Hello licence — issue a minimal streaming licence to a known test player; confirm playback works.
- Policies — modify the policy builder to express VOD, rental, and EST; observe the effect on playback duration / persistence.
- Persistent / offline — issue a
KEY_TYPE_OFFLINElicence; verify offline replay; release the licence. - Renewal / rotation — exercise the renewal path on a long-running playback.
- Negative tests — what happens when entitlement check fails? When the device cert is unrecognised? When HDCP requirements can't be met?
Things to capture during the lab
For each phase:
- The exact server-side log lines that indicate success / failure.
- The exact player-side error symptoms (browser console, Logcat).
- One memorable sentence summarising the takeaway.
Filling these in by hand makes the post-class review valuable. Trying to reconstruct from memory weeks later is frustrating.
Post-lab review
A week before the certification exam:
- Re-run the lab end-to-end if possible.
- Re-read this module + your
internal.mdx. - Run the relevant quiz topics until you score >90% twice in a row.
The lab is the practical part of the curriculum; the exam tests the concepts, but the muscle memory the lab builds makes those concepts intuitive.