Wasabi ExpressPlay SDK for iOS  1.23.0
Data Structures | Typedefs | Enumerations | Functions
WsbMediaAdapter.h File Reference

Wasabi Media Adapter API. More...

#include "WsbTypes.h"
#include "WsbPlaylistProxy.h"

Go to the source code of this file.

Data Structures

struct  WSB_MediaAdapterConfig
 Media Adapter configuration. More...
 
struct  WSB_MediaAdapterParams
 Media Adapter media source parameters. More...
 
struct  WSB_MediaAdapterPlaybackInfo
 Media Adapter playback information. More...
 

Typedefs

typedef struct WSB_MediaAdapter WSB_MediaAdapter
 

Enumerations

enum  WSB_MediaAdapterDrmType {
  WSB_MADT_PREFER_NATIVE_DRM = 0,
  WSB_MADT_ONLY_NATIVE_DRM,
  WSB_MADT_ONLY_MARLIN_DRM
}
 Drm types. More...
 
enum  WSB_MediaAdapterLicenseType {
  WSB_MALT_STREAMING_LICENSE = 0,
  WSB_MALT_PERSISTENT_LICENSE
}
 Marlin license types. More...
 

Functions

WSB_EXPORT WSB_Result WSB_MediaAdapter_Open (const WSB_MediaAdapterConfig *config, WSB_MediaAdapter **adapter)
 Open a Media Adapter based on the configuration. More...
 
WSB_EXPORT WSB_Result WSB_MediaAdapter_Adapt (WSB_MediaAdapter *self, const WSB_MediaAdapterParams *params, WSB_MediaAdapterPlaybackInfo *playback_info)
 Adapt the media source for content playback. More...
 
WSB_EXPORT WSB_Result WSB_MediaAdapter_Close (WSB_MediaAdapter *self)
 Close the Media Adapter. More...
 

Detailed Description

Wasabi Media Adapter API.

Enumeration Type Documentation

◆ WSB_MediaAdapterDrmType

Drm types.

Since
1.21
Enumerator
WSB_MADT_PREFER_NATIVE_DRM 

Use native DRM; if not possible, use Marlin DRM.

WSB_MADT_ONLY_NATIVE_DRM 

Use only native DRM.

WSB_MADT_ONLY_MARLIN_DRM 

Use only Marlin DRM.

◆ WSB_MediaAdapterLicenseType

Marlin license types.

Since
1.21
Enumerator
WSB_MALT_STREAMING_LICENSE 

Online streaming license, Marlin MS3.

WSB_MALT_PERSISTENT_LICENSE 

Offline persistent license, Marlin Broadband.