Adaptive Media Player

AmpCore Docs

AmpCore Reference StreamDownloader Class Reference

  • Classes
    • AdBreakInfo
    • AdInfo
    • AdVendor
    • AmpLogger
    • AmpPlayer
    • – MediaCharacteristic
    • AmpPlayerView
    • AmpSharePlay
    • AudioStreamHandler
    • BaseFullscreenHandler
    • BaseFullscreenManager
    • Caption
    • CuepointManager
    • FairplayConfiguration
    • Media
    • OTTDevice
    • Observable
    • ParentViewFullscreen
    • PosterImage
    • QualityLevel
    • StreamAssetHandler
    • StreamDownloader
    • StreamInfo
  • Enumerations
    • AmpLogLevel
    • BufferingState
    • FairplayProvider
    • PlaybackState
    • PlayerError
    • PosterImageType
    • StreamType
  • Protocols
    • AmpLoggerInspector
    • ExternalPlaybackDelegate
    • FullscreenHandler
    • FullscreenManager
    • PlayerEventObserver
    • SharePlayEventObserver
    • StreamHandler
  • Structures
    • FullscreenMode

StreamDownloader

public class StreamDownloader

The StreamDownloader is in charge of handling the stream loading proccess

  • addHandler(handler:)

    Adds a handler for one or more types of streams

    Declaration

    Swift

    public func addHandler(handler: StreamHandler)

    Parameters

    handler

    StreamHandler that will be added to the stream handlers list.