Strengthen daterange integration test with compliant test stream - #175
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Tested the daterange web support end-to-end on Chrome (Devin session) Web integration suite ( Example app on Chrome — clicked "Daterange source", console output: ADDCUE/ENTERCUE/EXITCUE all fire on web with finite endDate/endTime and duration=5 — the discrepancy seen with the old malformed stream is resolved. |
3daedcd to
94e8c23
Compare
c938c0e to
81faeaf
Compare
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
81faeaf to
439ad67
Compare
Summary
The previous daterange test stream contained an
EXT-X-DATERANGEupdate tag withoutSTART-DATE, which Android and Web parsers reject — leavingduration/endDatenull and endTime infinite on those platforms, so the test couldn't assert finite metadata or cue lifecycle events.Switch
daterange_test.dart(and the example app's "Daterange source" button) to the new spec-compliantdaterange-test.m3u8stream and strengthen assertions on the first cue (test-010, active 10s–15s into playback):id,cueClass,startDate,endDate,duration(5s),plannedDurationendTimewithendTime - startTime ≈ 5scte35Out/scte35Inpayloads and forwardedX-COM-*custom attributesENTERCUEandEXITCUEevents fire as playback crosses the range (new_pumpUntilpolling helper instead of a fixed 10s wait)Link to Devin session: https://dolby.devinenterprise.com/sessions/9c8aebec43564a36a78d52fa710c8fe5
Open in Devin Desktop: https://dolby.devinenterprise.com/desktop/session/9c8aebec43564a36a78d52fa710c8fe5?variant=devin