Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
Data Fields
WSB_MediaAdapterParams Struct Reference

Media Adapter media source parameters. More...

#include <WsbMediaAdapter.h>

Data Fields

const char * media_source
 Media source URL. More...
 
WSB_PlaylistProxy_MediaSourceType media_source_type
 Media source type, only support and adapt DASH media source type for now. More...
 
const WSB_PlaylistProxy_MediaSourceParamsmedia_source_params
 Media source optional parameters. More...
 
const char * token_url
 Universal token URL to redeeming a license for the media source. More...
 
WSB_UInt32 flags
 Playlist Proxy flags. More...
 
const WSB_PlaylistProxy_EventListenerlistener
 Optional event listener, can be NULL. More...
 

Detailed Description

Media Adapter media source parameters.

See also
WSB_MediaAdapter_Adapt
Since
1.21

Field Documentation

◆ flags

WSB_UInt32 WSB_MediaAdapterParams::flags

Playlist Proxy flags.

Application can set any WSB_PP_FLAG_... except the following flags: WSB_PP_FLAG_FAIRPLAY_ENCRYPTED_HLS, WSB_PP_FLAG_BLOCK_FOR_LICENSE_IMPLICIT, WSB_PP_FLAG_BLOCK_FOR_LICENSE_EXPLICIT

For WSB_PP_FLAG_FAIRPLAY_ENCRYPTED_HLS flag, Media Adapter will determine when to set this flag and application shouldn't set it.

For WSB_PP_FLAG_BLOCK_FOR_LICENSE_IMPLICIT and WSB_PP_FLAG_BLOCK_FOR_LICENSE_EXPLICIT flags, application shouldn't set these flags when Media Adapter is configured to use WSB_MADT_PREFER_NATIVE_DRM or WSB_MADT_ONLY_NATIVE_DRM.

See also
WSB_PP_FLAG_... in WsbPlaylistProxy.h
WSB_MediaAdapterDrmType;

◆ listener

const WSB_PlaylistProxy_EventListener* WSB_MediaAdapterParams::listener

Optional event listener, can be NULL.

See also
WSB_PlaylistProxy_EventListener in WsbPlaylistProxy.h

◆ media_source

const char* WSB_MediaAdapterParams::media_source

Media source URL.

◆ media_source_params

const WSB_PlaylistProxy_MediaSourceParams* WSB_MediaAdapterParams::media_source_params

Media source optional parameters.

See also
WSB_PlaylistProxy_MediaSourceParams in WsbPlaylistProxy.h

◆ media_source_type

WSB_PlaylistProxy_MediaSourceType WSB_MediaAdapterParams::media_source_type

Media source type, only support and adapt DASH media source type for now.

See also
WSB_PlaylistProxy_MediaSourceType in WsbPlaylistProxy.h

◆ token_url

const char* WSB_MediaAdapterParams::token_url

Universal token URL to redeeming a license for the media source.

If using WSB_MALT_STREAMING_LICENSE, token_url should contain the value of the "http-token" field in the univeral token. If using WSB_MALT_PERSISTENT_LICENSE, token_url should contain the whole universal token.


The documentation for this struct was generated from the following file: