UNPKG

react-native-theoplayer

Version:

A THEOplayer video component for react-native.

98 lines (97 loc) 2.64 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SourceIntegrationId = exports.PlaybackPipeline = void 0; /** * Represents a media resource. * * @remarks * <br/> - Can be a string value representing the URL of a media resource, a {@link TypedSource}. * * @category Source * @public */ /** * A type alias for a {@link TypedSource} media resource. * * @category Source * @public */ /** * A media resource or list of media resources. * * @remarks * <br/> - The order of sources when using a list determines their priority when attempting playback. * * @category Source * @public */ /** * The cross-origin setting of a source, represented by a value from the following list: * <br/> - `'anonymous'`: CORS requests will have the credentials flag set to 'same-origin'. * <br/> - `'use-credentials'`: CORS requests will have the credentials flag set to 'include'. * <br/> - `''`: Setting the empty string is the same as `'anonymous'` * * @remarks * <br/> - See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes | The crossorigin attribute: Requesting CORS access to content} * * @category Source * @public */ /** * The integration identifier of a source specific to a pre-integration, represented by a value from the following list: * <br/> - `'theolive'`: The source contains the THEOlive initialization url. * * @category Source * @public * @deprecated use {@link TypedSource.type} instead. */ let SourceIntegrationId = exports.SourceIntegrationId = /*#__PURE__*/function (SourceIntegrationId) { SourceIntegrationId["THEO_LIVE"] = "theolive"; return SourceIntegrationId; }({}); /** * The playback pipeline to use to play a stream. * * @category Source * @platform android * @public */ let PlaybackPipeline = exports.PlaybackPipeline = /*#__PURE__*/function (PlaybackPipeline) { PlaybackPipeline["LEGACY"] = "legacy"; PlaybackPipeline["MEDIA3"] = "media3"; return PlaybackPipeline; }({}); /** * Describes the configuration of a player's source. * * @category Source * @public */ /** * Describes the configuration of a player's source. * * @category Source * @public */ /** * Describes the configuration of a side-loaded text track. * * @category Source * @category Media and Text Tracks * @public */ /** * Represents the common properties of a media resource. * * @category Source * @public */ /** * Represents a media resource characterized by a URL to the resource and optionally information about the resource. * * @category Source * @public */ //# sourceMappingURL=SourceDescription.js.map