Interface ICupertinoEncryptor


  • public interface ICupertinoEncryptor
    • 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)