Media player classes

These classes describe your media player and its resources.

Class Description
PTABRControlParameters Encapsulates all adaptive bit-rate control parameters. Supported parameters are:
  • minBitRate
  • maxBitRate
  • initialBitRate
PTMediaPlayer Defines the root component for the Primetime Player framework.

Applications create an instance of this class to play back a media. This component dispatches notifications to let your application know the status of the player at any given time.

PTMediaPlayerItem Represents a specific audio-video media.
PTMediaPlayerView Manages the view component of the Primetime Player framework.
PTMediaProfile Represents the profile of a single stream in the variant playlist.
PTMediaSelectionOption Represents an audiovisual media resource to accommodate different language preferences, accessibility requirements, or custom application configurations. Valid option types:
  • Subtitles (PTMediaSelectionOptionTypeSubtitle)
  • Alternate audio (PTMediaSelectionOptionTypeAudio )
  • Undefined (PTMediaSelectionOptionTypeUndefined)

PTSDK Describes the version of the Primetime SDK and its capabilities.
PTSDKConfig Exposes PSDK global settings and allows an application to subscribe to custom HLS tags.
PTSiteCatalystTrackingMetadata Contains property metadata specific to Video Analytics tracking within the PSDK.
PTTextStyleRule Defines constants that represent text style attribute keys that form the dictionary of rules.