Config class methods for tags

You can configure custom tag names in TVSDK globally with the PTSDKConfig class.

TVSDK applies the global configuration automatically to any media stream that does not specify a stream-specific configuration.

PTSDKConfig exposes these methods to manage the custom tags:

Subscribe to specific custom tags
Customize the ad tags used by the default opportunity detector

Remember the following:

  • The setter methods do not allow the tags parameter to contain null values.

  • The custom tag name must contain the # prefix.

    For example, #EXT-X-ASSET is a correct custom tag name, but EXT-X-ASSET is incorrect.

  • You cannot change the configuration after the media stream has been loaded.

On this page