Files
shaka-player/test
Álvaro Velad Galván c306ac3501 feat(Cast): Dynamically proxy player and ad events using FakeEventTarget.ALL_EVENTS (#10168)
- Exposed and renamed `shaka.util.FakeEventTarget.ALL_EVENTS_` to
`ALL_EVENTS`, updating its value to `__shaka_all_events__` to prevent
string collisions.
- Refactored `CastProxy` and `CastReceiver` to subscribe directly to
this wildcard event for both the Player and the AdManager instances.
- Removed the hardcoded `shaka.cast.CastUtils.AdManagerEvents` array and
eliminated the loops that iterated over static event lists.

This makes the casting event proxy layer completely dynamic, cleaner,
and future-proof against new event additions to either the Player or the
AdManager.
2026-06-02 14:07:22 +02:00
..
2026-05-27 21:51:03 +02:00