Subscribes to a media-core SDK event for the lifetime of the component. The handler is captured in a ref so callers can pass an inline arrow function without re-subscribing on every render.
Subscribes to a media-core SDK event for the lifetime of the component. The handler is captured in a ref so callers can pass an inline arrow function without re-subscribing on every render.