Package com.wowza.wms.module
Interface IModuleOnHTTPCupertinoEncryption
- 
- All Known Subinterfaces:
- IModuleOnHTTPCupertinoEncryption2
 
 public interface IModuleOnHTTPCupertinoEncryptionIModuleOnHTTPCupertinoEncryption: listener interface for listening to AES-128 encryption events. 
- 
- 
Field SummaryFields Modifier and Type Field Description static intKEYDATA_MODE_ENCRYPTstatic intKEYDATA_MODE_INITstatic intKEYDATA_MODE_KEYFRAME_ENCRYPTstatic intKEYDATA_MODE_KEYFRAME_INITstatic intKEYDATA_MODE_KEYFRAME_PLAYLISTstatic intKEYDATA_MODE_PLAYLIST
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonHTTPCupertinoEncryptionKeyCreateLive(IApplicationInstance appInstance, String streamName, byte[] encKey)Called when live stream key is requested (per-published stream)voidonHTTPCupertinoEncryptionKeyCreateVOD(HTTPStreamerSessionCupertino httpSession, byte[] encKey)Called when video on demand key is requested (per-session)voidonHTTPCupertinoEncryptionKeyData(HTTPStreamerSessionCupertino httpSession, IHTTPRequest req, IHTTPResponse resp, byte[] encKeyData)Called when a key data is requested.voidonHTTPCupertinoEncryptionKeyLiveChunk(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)voidonHTTPCupertinoEncryptionKeyRequest(HTTPStreamerSessionCupertino httpSession, IHTTPRequest req, IHTTPResponse resp)Called when a key is requested.voidonHTTPCupertinoEncryptionKeyVODChunk(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).
 
- 
- 
- 
Field Detail- 
KEYDATA_MODE_INITstatic final int KEYDATA_MODE_INIT - See Also:
- Constant Field Values
 
 - 
KEYDATA_MODE_PLAYLISTstatic final int KEYDATA_MODE_PLAYLIST - See Also:
- Constant Field Values
 
 - 
KEYDATA_MODE_ENCRYPTstatic final int KEYDATA_MODE_ENCRYPT - See Also:
- Constant Field Values
 
 - 
KEYDATA_MODE_KEYFRAME_INITstatic final int KEYDATA_MODE_KEYFRAME_INIT - See Also:
- Constant Field Values
 
 - 
KEYDATA_MODE_KEYFRAME_PLAYLISTstatic final int KEYDATA_MODE_KEYFRAME_PLAYLIST - See Also:
- Constant Field Values
 
 - 
KEYDATA_MODE_KEYFRAME_ENCRYPTstatic final int KEYDATA_MODE_KEYFRAME_ENCRYPT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
onHTTPCupertinoEncryptionKeyRequestvoid onHTTPCupertinoEncryptionKeyRequest(HTTPStreamerSessionCupertino httpSession, IHTTPRequest req, IHTTPResponse resp) Called when a key is requested. Call httpSession.rejectSession to reject the streaming session and stop delivery of the encryption key.- Parameters:
- httpSession- HTTP session
- req- HTTP request
- resp- HTTP response
 
 - 
onHTTPCupertinoEncryptionKeyDatavoid onHTTPCupertinoEncryptionKeyData(HTTPStreamerSessionCupertino httpSession, IHTTPRequest req, IHTTPResponse resp, byte[] encKeyData) Called when a key data is requested. Set encKeyData to the key data to be sent to the client.- Parameters:
- httpSession- HTTP session
- req- request
- resp- response
- encKeyData- key data
 
 - 
onHTTPCupertinoEncryptionKeyCreateVODvoid onHTTPCupertinoEncryptionKeyCreateVOD(HTTPStreamerSessionCupertino httpSession, byte[] encKey) Called when video on demand key is requested (per-session)- Parameters:
- httpSession- HTTP session
- encKey- encryption key
 
 - 
onHTTPCupertinoEncryptionKeyVODChunkvoid 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). Allows setting of encryption key and URL.- Parameters:
- httpSession- HTTP session
- index- file index
- encInfo- encryption key
- mode- KEYDATA_MODE_*
 
 - 
onHTTPCupertinoEncryptionKeyCreateLivevoid onHTTPCupertinoEncryptionKeyCreateLive(IApplicationInstance appInstance, String streamName, byte[] encKey) Called when live stream key is requested (per-published stream)- Parameters:
- appInstance- application instance
- streamName- stream name
- encKey- encryption key
 
 - 
onHTTPCupertinoEncryptionKeyLiveChunkvoid 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)- Parameters:
- liveStreamPacketizer- live stream packetizer
- streamName- stream name
- encInfo- encryption info
- chunkId- chunk ID, -1 for stream creation
- mode- KEYDATA_MODE_*
 
 
- 
 
-