Wasabi Media Stream API.
More...
#include "WsbResults.h"
#include "WsbTypes.h"
Go to the source code of this file.
|
| WSB_EXPORT WSB_Result | WSB_MediaStream_OpenUrl (const char *source_url, WSB_MediaStream_SourceType source_type, const WSB_MediaStream_FormatInfo *format_info, WSB_MediaStream **stream) |
| | Open a Marlin protected source. More...
|
| |
| WSB_EXPORT WSB_Result | WSB_MediaStream_Open (WSB_MediaStream *source_stream, const WSB_MediaStream_FormatInfo *format_info, WSB_MediaStream **stream) |
| | Open a Marlin protected source stream. More...
|
| |
| WSB_EXPORT WSB_Result | WSB_MediaStream_Read (WSB_MediaStream *self, void *buffer, WSB_Size *read_bytes) |
| | Read data from a media stream object. More...
|
| |
| WSB_EXPORT WSB_Result | WSB_MediaStream_Seek (WSB_MediaStream *self, WSB_Position position) |
| | Change the current read position for a media stream. More...
|
| |
| WSB_EXPORT WSB_Result | WSB_MediaStream_Tell (WSB_MediaStream *self, WSB_Position *position) |
| | Get the current read position for a media stream. More...
|
| |
| WSB_EXPORT WSB_Result | WSB_MediaStream_GetSize (WSB_MediaStream *self, WSB_LargeSize *size) |
| | Get the size of the media stream in bytes, if known (or an error code if the size is unknown or an error occurs). More...
|
| |
| WSB_EXPORT WSB_Result | WSB_MediaStream_GetContentType (WSB_MediaStream *self, const char **content_type) |
| | Get the content type of the data in the media stream. More...
|
| |
| WSB_EXPORT WSB_Result | WSB_MediaStream_GetKey (WSB_MediaStream *self, const WSB_MediaStreamKey **key) |
| | Extract the crypto context from a Media Stream object. More...
|
| |
| WSB_EXPORT WSB_Result | WSB_MediaStream_Close (WSB_MediaStream *self) |
| | Release a media stream object once it is no longer needed. More...
|
| |
◆ WSB_MEDIASTREAM_CONTENT_TYPE_AES128CBC
| #define WSB_MEDIASTREAM_CONTENT_TYPE_AES128CBC "application/vnd.intertrust.drm.aes128.cbc" |
◆ WSB_MEDIASTREAM_CONTENT_TYPE_AES128CTR
| #define WSB_MEDIASTREAM_CONTENT_TYPE_AES128CTR "application/vnd.intertrust.drm.aes128.ctr" |
◆ WSB_MEDIASTREAM_CONTENT_TYPE_DCF
| #define WSB_MEDIASTREAM_CONTENT_TYPE_DCF "application/vnd.oma.drm.dcf" |