Package com.wowza.wms.module
Interface IModuleOnHTTPCmafEncryption
-
public interface IModuleOnHTTPCmafEncryption
IModuleOnHTTPCmafEncryption: listener interface for listening to CMAF encryption events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onHTTPCmafEncryptionKeyLiveSegment(ILiveStreamPacketizer liveStreamPacketizer, String streamName, CencInfo cencInfo, long segmentId, int contentType)
Called when live stream key is requested (per-published stream)void
onHTTPCmafEncryptionKeyVODSegment(IHTTPStreamerSession httpSession, CencInfo cencInfo, long segmentId, int contentType)
Called when video on demand key is requested (per-session).
-
-
-
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 sessioncencInfo
- Common Encryption informationsegmentId
- segment identifiercontentType
- 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 packetizerstreamName
- stream namecencInfo
- Common Encryption informationsegmentId
- segment identifiercontentType
- segment content type (currently unsupported and always set to IVHost.CONTENTTYPE_UKNOWN)
-
-