Interface IModuleOnHTTPCmafEncryption


  • public interface IModuleOnHTTPCmafEncryption

    IModuleOnHTTPCmafEncryption: listener interface for listening to CMAF encryption events.

    • Method Detail

      • onHTTPCmafEncryptionKeyVODSegment

        void onHTTPCmafEncryptionKeyVODSegment​(IHTTPStreamerSession httpSession,
                                               CencInfo cencInfo,
                                               long segmentId,
                                               int contentType)
        Called when video on demand key is requested (per-session). Allows setting of encryption key and URL.
        Parameters:
        httpSession - HTTP session
        cencInfo - Common Encryption information
        segmentId - segment identifier
        contentType - segment content type (currently unsupported and always set to IVHost.CONTENTTYPE_UKNOWN)
      • onHTTPCmafEncryptionKeyLiveSegment

        void onHTTPCmafEncryptionKeyLiveSegment​(ILiveStreamPacketizer liveStreamPacketizer,
                                                String streamName,
                                                CencInfo cencInfo,
                                                long segmentId,
                                                int contentType)
        Called when live stream key is requested (per-published stream)
        Parameters:
        liveStreamPacketizer - live stream packetizer
        streamName - stream name
        cencInfo - Common Encryption information
        segmentId - segment identifier
        contentType - segment content type (currently unsupported and always set to IVHost.CONTENTTYPE_UKNOWN)