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

Marlin Media Segment Decrypter API. More...

#include "WsbTypes.h"

Go to the source code of this file.

Data Structures

struct  WSB_MediaSegmentDecrypter_HlsInitData
 The init_data specific to the HLS media format. More...
 
struct  WSB_MediaSegmentDecrypter_Mp4CencInitData
 The init_data specific to the MP4/CENC media format. More...
 

Typedefs

typedef struct WSB_MediaSegmentDecrypter WSB_MediaSegmentDecrypter
 Media Segment Decrypter opaque structure. More...
 

Enumerations

enum  WSB_MediaSegmentDecrypterType {
  WSB_MEDIA_SEGMENT_DECRYPTER_TYPE_HLS = 0,
  WSB_MEDIA_SEGMENT_DECRYPTER_TYPE_MP4_CENC
}
 Media type a decrypter object can be used with. More...
 

Functions

WSB_EXPORT WSB_Result WSB_MediaSegmentDecrypter_Create (const char *source_url, WSB_MediaSegmentDecrypterType type, WSB_MediaSegmentDecrypter **decrypter)
 Create a new instance of the Media Segment Decrypter object. More...
 
WSB_EXPORT WSB_Result WSB_MediaSegmentDecrypter_Clone (WSB_MediaSegmentDecrypter *decrypter, WSB_MediaSegmentDecrypter **cloned)
 Create a new instance of Media Segment Decrypter from another Media Segment Decrypter object. More...
 
WSB_EXPORT WSB_Result WSB_MediaSegmentDecrypter_Destroy (WSB_MediaSegmentDecrypter *decrypter)
 Destroy a Media Segment Decrypter object earlier successfully created through WSB_MediaSegmentDecrypter_Create. More...
 
WSB_EXPORT WSB_Result WSB_MediaSegmentDecrypter_Init (WSB_MediaSegmentDecrypter *decrypter, const void *init_data)
 Initialize decrypter for a new segment. More...
 
WSB_EXPORT WSB_Result WSB_MediaSegmentDecrypter_Decrypt (WSB_MediaSegmentDecrypter *decrypter, const WSB_UInt8 *in, unsigned int in_size, WSB_UInt8 *out, unsigned int *out_size)
 Perform decryption of a media buffer. More...
 

Detailed Description

Marlin Media Segment Decrypter API.

Since
1.10

Typedef Documentation

◆ WSB_MediaSegmentDecrypter

Media Segment Decrypter opaque structure.

Enumeration Type Documentation

◆ WSB_MediaSegmentDecrypterType

Media type a decrypter object can be used with.

Since
1.10
Enumerator
WSB_MEDIA_SEGMENT_DECRYPTER_TYPE_HLS 

HLS with MPEG2TS container format, AES or BBTS decrypter type.

WSB_MEDIA_SEGMENT_DECRYPTER_TYPE_MP4_CENC 

MP4 container format, CENC decrypter type.