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

#include <WsbMediaAccess.h>

Data Fields

int(* IsCodecSupported )(const WSB_MediaSourceCodecFilter *self, WSB_MediaType media_type, const char *codec)
 Callback that is called by the media source to query if a specific codec is supported or not. More...
 

Field Documentation

◆ IsCodecSupported

int(* WSB_MediaSourceCodecFilterInterface::IsCodecSupported) (const WSB_MediaSourceCodecFilter *self, WSB_MediaType media_type, const char *codec)

Callback that is called by the media source to query if a specific codec is supported or not.

This is used to filter-out media that is not supported by the client.

Parameters
selfPointer to the WSB_MediaSourceCodecFilter instance that was specified when creating the media source.
media_typeType of the media (audio or video).
codecString describing the codec.
Returns
Integer 1 if the codec is supported, or 0 if it is not.

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