public interface IModuleOnHTTPCmafEncryption
IModuleOnHTTPCmafEncryption: listener interface for listening to CMAF encryption events.
| 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).
|
void onHTTPCmafEncryptionKeyLiveSegment(ILiveStreamPacketizer liveStreamPacketizer, String streamName, CencInfo cencInfo, long segmentId, int contentType)
liveStreamPacketizer - live stream packetizerstreamName - stream namecencInfo - Common Encryption informationsegmentId - segment identifiercontentType - segment content type (currently unsupported and always set to IVHost.CONTENTTYPE_UKNOWN)void onHTTPCmafEncryptionKeyVODSegment(IHTTPStreamerSession httpSession, CencInfo cencInfo, long segmentId, int contentType)
httpSession - HTTP sessioncencInfo - Common Encryption informationsegmentId - segment identifiercontentType - segment content type (currently unsupported and always set to IVHost.CONTENTTYPE_UKNOWN)