Hy,
how-to-secure-apple-hls-streaming-using-drm-encryption#hls-encryption-api-methods5
Generate .jar this:
package com.soul.eas;
import com.wowza.wms.httpstreamer.cupertinostreaming.file.IHTTPStreamerCupertinoIndex;
import com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerSessionCupertino;
import com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoEncInfo;
import com.wowza.wms.httpstreamer.cupertinostreaming.*;
import com.wowza.wms.module.ModuleBase;
import com.wowza.util.BufferUtils;
import com.wowza.util.*;
public class Wmseas extends ModuleBase {
public void onHTTPCupertinoEncryptionKeyVODChunk(HTTPStreamerSessionCupertino httpSession, IHTTPStreamerCupertinoIndex index, CupertinoEncInfo encInfo, long chunkId, int mode)
{
encInfo.setEncMethod(CupertinoEncInfo.METHOD_AES_128);
encInfo.setEncUrl("//url/auth.php");
encInfo.setEncKeyBytes(BufferUtils.decodeHexString(“123456789ABCDEF123456789ABCDEF12”));
encInfo.setEncIVBytes(BufferUtils.decodeHexString(“FEDCBA9876543210FEDCBA9876543210”));
encInfo.setEncKeyFormatVersion(“1”);
}}
Adding Wowza and HLS Stream not working not generating playlist.m3u8 400 error. Wowza not logs please help! Latest Wowza.