pHow can I split the chunk programmatically?

I tried to insert keyframes via server-side API.

https://www.wowza.com/docs/how-to-insert-key-frames-into-a-transcoded-stream-using-server-side-api

Inserting the keyframe was succeeded, however the HLS segments was not split by keyframes.

How can I split the chunk programmatically? or any solutions?

Make sure that your cupertinoChunkDurationTarget value matches the value of the keyframe distance you are using with Transcoder.

https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming#mgrlive