Registers watchForVideoElementLoss, split out of MoqApiPackage so a bundle can wire up MoQ
manifest-technology loading (which needs only this) without also pulling in MoqApiPackage's
play/pause/seek/quality control surface — those are set directly onto the per-source
sourceApiManager and would silently overwrite an HLS/DASH source's same-named methods with
incompatible semantics if both loaded in the same bundle. Needs no per-source branch gate:
watchForVideoElementLoss is a plain function operating on whatever context it's called with,
not the context it's registered from.
MoqSourceLifecycle.package
Registers
watchForVideoElementLoss, split out ofMoqApiPackageso a bundle can wire up MoQ manifest-technology loading (which needs only this) without also pulling in MoqApiPackage's play/pause/seek/quality control surface — those are set directly onto the per-sourcesourceApiManagerand would silently overwrite an HLS/DASH source's same-named methods with incompatible semantics if both loaded in the same bundle. Needs no per-source branch gate:watchForVideoElementLossis a plain function operating on whatever context it's called with, not the context it's registered from.MoqSourceLifecyclePackage Dependency Graph