UNPKG

react-native-theoplayer

Version:

A THEOplayer video component for react-native.

45 lines (40 loc) 1.24 kB
"use strict"; /** * The THEOlive event dispatched by the {@link TheoLiveAPI THEOlive API}. * * @category Events * @category THEOlive * @public */ /** * Dispatched when the loading of a THEOlive distribution starts. * * @public */ /** * Dispatched when the loading of a THEOlive endpoint is complete and playback can start. * This event is dispatched on every endpoint load, when an error is encountered and the player recovers by choosing * a new one. * * @public */ /** * Fired when the player cannot play the current primary publication and would like to fallback. If a fallback has been configured it will fallback, * otherwise only the event is fired. * * @public */ /** * The THEOlive eventTypes used as subType in TheoLiveEvents. * @category Events * @category THEOlive * @public */ export let TheoLiveEventType = /*#__PURE__*/function (TheoLiveEventType) { TheoLiveEventType["DISTRIBUTION_LOAD_START"] = "distributionloadstart"; TheoLiveEventType["DISTRIBUTION_OFFLINE"] = "distributionoffline"; TheoLiveEventType["ENDPOINT_LOADED"] = "endpointloaded"; TheoLiveEventType["INTENT_TO_FALLBACK"] = "intenttofallback"; return TheoLiveEventType; }({}); //# sourceMappingURL=TheoLiveEvent.js.map