public interface IModuleOnHTTPCupertinoEncryption
IModuleOnHTTPCupertinoEncryption: listener interface for listening to AES-128 encryption events.
| Modifier and Type | Field | Description |
|---|---|---|
static int |
KEYDATA_MODE_ENCRYPT |
|
static int |
KEYDATA_MODE_INIT |
|
static int |
KEYDATA_MODE_KEYFRAME_ENCRYPT |
|
static int |
KEYDATA_MODE_KEYFRAME_INIT |
|
static int |
KEYDATA_MODE_KEYFRAME_PLAYLIST |
|
static int |
KEYDATA_MODE_PLAYLIST |
| Modifier and Type | Method | Description |
|---|---|---|
void |
onHTTPCupertinoEncryptionKeyCreateLive(IApplicationInstance appInstance,
String streamName,
byte[] encKey) |
Called when live stream key is requested (per-published stream)
|
void |
onHTTPCupertinoEncryptionKeyCreateVOD(HTTPStreamerSessionCupertino httpSession,
byte[] encKey) |
Called when video on demand key is requested (per-session)
|
void |
onHTTPCupertinoEncryptionKeyData(HTTPStreamerSessionCupertino httpSession,
IHTTPRequest req,
IHTTPResponse resp,
byte[] encKeyData) |
Called when a key data is requested.
|
void |
onHTTPCupertinoEncryptionKeyLiveChunk(ILiveStreamPacketizer liveStreamPacketizer,
String streamName,
com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoEncInfo encInfo,
long chunkId,
int mode) |
Called when live stream key is requested (per-published stream, per-chunk - for rotating keys)
|
void |
onHTTPCupertinoEncryptionKeyRequest(HTTPStreamerSessionCupertino httpSession,
IHTTPRequest req,
IHTTPResponse resp) |
Called when a key is requested.
|
void |
onHTTPCupertinoEncryptionKeyVODChunk(HTTPStreamerSessionCupertino httpSession,
IHTTPStreamerCupertinoIndex index,
com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoEncInfo encInfo,
long chunkId,
int mode) |
Called when video on demand key is requested (per-session).
|
static final int KEYDATA_MODE_ENCRYPT
static final int KEYDATA_MODE_INIT
static final int KEYDATA_MODE_KEYFRAME_ENCRYPT
static final int KEYDATA_MODE_KEYFRAME_INIT
static final int KEYDATA_MODE_KEYFRAME_PLAYLIST
static final int KEYDATA_MODE_PLAYLIST
void onHTTPCupertinoEncryptionKeyCreateLive(IApplicationInstance appInstance, String streamName, byte[] encKey)
appInstance - application instancestreamName - stream nameencKey - encryption keyvoid onHTTPCupertinoEncryptionKeyCreateVOD(HTTPStreamerSessionCupertino httpSession, byte[] encKey)
httpSession - HTTP sessionencKey - encryption keyvoid onHTTPCupertinoEncryptionKeyData(HTTPStreamerSessionCupertino httpSession, IHTTPRequest req, IHTTPResponse resp, byte[] encKeyData)
httpSession - HTTP sessionreq - requestresp - responseencKeyData - key datavoid onHTTPCupertinoEncryptionKeyLiveChunk(ILiveStreamPacketizer liveStreamPacketizer, String streamName, com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoEncInfo encInfo, long chunkId, int mode)
liveStreamPacketizer - live stream packetizerstreamName - stream nameencInfo - encryption infochunkId - chunk ID, -1 for stream creationmode - KEYDATA_MODE_*void onHTTPCupertinoEncryptionKeyRequest(HTTPStreamerSessionCupertino httpSession, IHTTPRequest req, IHTTPResponse resp)
httpSession - HTTP sessionreq - HTTP requestresp - HTTP responsevoid onHTTPCupertinoEncryptionKeyVODChunk(HTTPStreamerSessionCupertino httpSession, IHTTPStreamerCupertinoIndex index, com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoEncInfo encInfo, long chunkId, int mode)
httpSession - HTTP sessionindex - file indexencInfo - encryption keymode - KEYDATA_MODE_*