Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Swift
public protocol MediaTailorPlayer : PALSessionClient, AdPlayer -
Undocumented
See moreDeclaration
Swift
public protocol MediaTailorPlayerBuilder : AnyObject -
Communicate to MediaTailor for session initialization and ad tracking via network requests.
This protocol defines the methods required for a MediaTailor session.
- Manifest URL and tracking URL are fetched from MediaTailor server. and tracking metadata is updated periodically.
- Manifest URL is used to fetch the playback URL for the media content, and tracking URL is used to fetch ad metadata for ad breaks.
Note
This protocol is designed to be used with MediaTailor’s ad insertion service, which provides dynamic ad insertion capabilities for media content.See moreNote
Manifest URL will be expired every 24 hours, so mediatailor session need to reinitialize the session after that period.Declaration
Swift
public protocol MediaTailorSession
Protocols Reference