Interface ICupertinoEncryptor
public interface ICupertinoEncryptor
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()byte[]encryptAudioFrame(int codec, byte[] data, int offset, int len, int frameOffset) voidencryptAudioFrames(int codec, long pts, List<PacketFragment> fragments) byte[]encryptChunk(byte[] data, int offset, int len, boolean isLast) voidencryptVideoFrame(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.IEncryptionInfoPlayReadybyte[]getPMTDescriptorForEncryption(int mediaPID, int ecmPID, int contentType) voidinit(com.wowza.wms.httpstreamer.util.IEncryptionInfoPlayReady encInfo, long chunkIndex) booleanbooleanbooleanbooleanvoidsetEncryptorContextStr(String encryptorContextStr) voidsetupPIDContextForEncryption(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)
-