Interface ICupertinoEncryptor
public interface ICupertinoEncryptor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
byte[]
encryptAudioFrame
(int codec, byte[] data, int offset, int len, int frameOffset) void
encryptAudioFrames
(int codec, long pts, List<PacketFragment> fragments) byte[]
encryptChunk
(byte[] data, int offset, int len, boolean isLast) void
encryptVideoFrame
(int codec, long pts, long dts, List<PacketFragment> fragments) getECMPESBytes
(com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoTransportStreamPIDContext pidContextECM, int videoPID, int audioPID, int dataPID, int ecmPID) com.wowza.wms.httpstreamer.util.IEncryptionInfoPlayReady
byte[]
getPMTDescriptorForEncryption
(int mediaPID, int ecmPID, int contentType) void
init
(com.wowza.wms.httpstreamer.util.IEncryptionInfoPlayReady encInfo, long chunkIndex) boolean
boolean
boolean
boolean
void
setEncryptorContextStr
(String encryptorContextStr) void
setupPIDContextForEncryption
(com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoTransportStreamPIDContext pidContext, int contentType)
-
Method Details
-
init
void init(com.wowza.wms.httpstreamer.util.IEncryptionInfoPlayReady encInfo, long chunkIndex) -
close
void close() -
encryptChunk
byte[] encryptChunk(byte[] data, int offset, int len, boolean isLast) -
encryptVideoFrame
-
encryptAudioFrames
-
encryptAudioFrame
byte[] encryptAudioFrame(int codec, byte[] data, int offset, int len, int frameOffset) -
isChunkEncryptor
boolean isChunkEncryptor() -
isSampleEncryptor
boolean isSampleEncryptor() -
isAES128SampleEncryptor
boolean isAES128SampleEncryptor() -
isPlayReadySampleEncryptor
boolean isPlayReadySampleEncryptor() -
setEncryptorContextStr
-
getEncInfo
com.wowza.wms.httpstreamer.util.IEncryptionInfoPlayReady getEncInfo() -
setupPIDContextForEncryption
void setupPIDContextForEncryption(com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoTransportStreamPIDContext pidContext, int contentType) -
getPMTDescriptorForEncryption
byte[] getPMTDescriptorForEncryption(int mediaPID, int ecmPID, int contentType) -
getECMPESBytes
List<PacketFragment> getECMPESBytes(com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoTransportStreamPIDContext pidContextECM, int videoPID, int audioPID, int dataPID, int ecmPID)
-