These tables compare the advertising workflow API elements between Browser TVSDK version 2.4.4 and version 2.4.5.
Tables in this topic:
- Ad
- Opportunity
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
Class Ad{ |
Class Ad{ |
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
Class Opportunity { |
Class Opportunity { |
These tables compare the customization API elements between Browser TVSDK version 2.4.4 and version 2.4.5.
Tables in this topic:
- NetworkConfiguration
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
Class NetworkConfiguration { |
Class NetworkConfiguration { |
Changes in the networkConfiguration.useCookieHeaderForAllRequests behavior
If the app sets networkConfiguration.useCookieHeaderForAllRequests to true, the SDK will set the withCredentials attribute to true for the XHR requests for the manifest, the segments, the key, and VTT. If the status code in the response is 0, the SDK will retry the same request without the withCredentials attribute.
For all non-segment files (manifest, key, and so on): keep track of whether withCredentials worked by URL. If if you have not already seen a failure for that URL, try withCredentials=true. If you get a failure, add that URL to the blacklist and retry without withCredentials. If the URL is already blacklisted, do not use withCredentials.
For all media segment files: keep track by origin instead of by URL, because each media file's URL is most likely unique.
Note:
Cookies and withCredentials will work for media files by domain.
The networkConfiguration.useCookieHeaderForAllRequests flag will not affect requests for a license. To set withCredentials attribute to true for a license request, you need to set withCredentials attribute in protection data or specify an authorization key in httpRequestHeaders of the protection data.
If networkConfiguration.useCookieHeaderForAllRequests is set to false, XHR requests will be made without the withCredentials attribute.
If the request was made without the withCredentials attribute, the status code 0 in the response will be treated as a failure . No special retry is required in this case.
These tables compare the DRM API elements between Browser TVSDK version 2.4.4 and version 2.4.5.
Tables in this topic:
- DRMManager
- DRMAuthenticationMethod
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
Class DRMManager { |
Class DRMManager { |
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
This class is new in Version 2.4.5. | Class DRMAuthenticationMethod { |
These tables compare the generic playback API elements between Browser TVSDK version 2.4.4 and version 2.4.5.
Tables in this topic:
- MediaPlayerView
- MediaPlayerViewScalePolicy
- Rectangle
- MaintainAspectRatioScalePolicy
- MediaPlayer
- MediaPlayerItemLoader
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
Class MediaPlayerView{ |
Class MediaPlayerView{ |
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
This class is new in version 2.4.5. |
Interface MediaPlayerViewScalePolicy{ |
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
This class is new in version 2.4.5. |
Class Rectangle{ |
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
This class is new in version 2.4.5. |
Class MaintainAspectRatioScalePolicy { |
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
Class MediaPlayer { |
Class MediaPlayer { |
Changes in the MediaPlayer.reset behavior
If set, the following parameters, will be initialized to their default values:
- volume
- abrControlParameters
- ccStyle
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
Class MediaPlayerItemLoader{ |
Class MediaPlayerItemLoader{ |
These tables compare the utility and helper API elements between Browser TVSDK version 2.4.4 and version 2.4.5.
Tables in this topic:
- PlayerTechnology
- PlayerTechnologyType
- TextFormat
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
class PlayerTechnology { |
class PlayerTechnology { |
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
This class is new in version 2.4.5. |
Class PlayerTechnologyType |
Browser TVSDK 2.4.4 API | Browser TVSDK 2.4.5 API |
---|---|
Class TextFormat { |
Class TextFormat { |