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