Include event ID in findSimilarRegion_() check #2077
Labels
flag: seeking PR
We are actively seeking PRs for this; we do not currently expect the core team will resolve this
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
v2.5.4
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from
master
?Yes
Are you using the demo app or your own custom app?
Custom app
If custom app, can you reproduce the issue using our demo app?
I did not try the demo app
What browser and OS are you using?
Chrome/MacOS
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
Sample manifest which demonstrates the issue:
What did you do?
Play a DASH stream with elements as mentioned above.
What did you expect to happen?
All events are observed via
timelineregionadded
event listener.What actually happened?
Events with same presentationTime and duration but different id are currently de-duped by findSimilarRegion_(). This does not work for our use case where we are using to signal Ad beacons. There can be multiple beacons at the same presentationTime offset. The only way to differentiate them is using id.
Following patch fixes the problem. I can submit a pull request if it is acceptable.
The text was updated successfully, but these errors were encountered: