# Low-Latency HLS using CMAF

**URL:** https://community.wowza.com/t/low-latency-hls-using-cmaf/54185
**Category:** Wowza Streaming Engine
**Tags:** low-latency
**Created:** [November 15, 2019, 3:35pm UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185 "2019-11-15T15:35:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ks\_ko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/ks_ko/32/550_2.png) [@ks\_ko](https://community.wowza.com/u/ks_ko)
#### Post date: [November 15, 2019, 3:35pm UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/1 "2019-11-15T15:35:25Z")

</div>

I’v updated WSE 4.7.8 and configured CMAF.

[https://www.wowza.com/docs/deliver-apple-low-latency-hls-live-streams-using-wowza-streaming-engine](https://www.wowza.com/docs/deliver-apple-low-latency-hls-live-streams-using-wowza-streaming-engine)

I read above article, and setup my application.

[cmafSegmentDurationTarget](https://www.wowza.com/docs/configure-cmaf-packetization-in-wowza-streaming-engine#cmaf-live-packetization-property-reference) = 500

less than 500, akamai hls web player even can not play.

it delay more than 5 sec.

How to configure Application.xml for reducing latency less than 3 sec?

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [November 15, 2019, 7:41pm UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/2 "2019-11-15T19:41:47Z")

</div>

You do realize that the 500 you have it set as is in milliseconds? We suggest 3000ms (3 seconds) for that setting. Have you tried a value higher than half a second (500ms) as you have it now? You need to make sure the player has enough data to play back and that it is matches the requirements for the following:

What do you have cmafLLChunkDurationTargetVideo set as @ks ko?

Did you see in the docs that it cannot exceed the cmafSegmentDurationTarget?

---

<div class="post-metadata">

### Author: ![Vinh\_Nguyen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/vinh_nguyen/32/565_2.png) [@Vinh\_Nguyen](https://community.wowza.com/u/Vinh_Nguyen)
#### Post date: [May 19, 2020, 3:17pm UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/3 "2020-05-19T15:17:35Z")

</div>

I even can not play a url, wowza produce a lot of error:

2020-05-19 14:30:20 UTC comment server WARN 200 - HTTPCTESessionService: Rejecting attempt to create session created for streamsegment: [486], stream name: [mystream], application: [cmaf], segmentId: [486], for client: remote Socket: /127.0.0.1:33228 since no content is available for delivery - - - 490.963 - - - - - - - – - - - - - - - - - - - - - - - -

2020-05-19 14:30:20 UTC comment server WARN 200 - HTTPCTESessionService: Rejecting attempt to create session created for streamsegment: [486], stream name: [mystream], application: [cmaf], segmentId: [486], for client: remote Socket: /127.0.0.1:33228 since no content is available for delivery - - - 491.213 - - - - - - - – - - - - - - - - - - - - - - - -

2020-05-19 14:30:20 UTC comment server WARN 200 - HTTPCTESessionService: Rejecting attempt to create session created for streamsegment: [486], stream name: [mystream], application: [cmaf], segmentId: [486], for client: remote Socket: /127.0.0.1:33228 since no content is available for delivery - - - 491.464 - - - - - - - – - - - - - - - - - - - - - - - -

I’m using the default settings of CMAF and enable LL-HLS CMAF already

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [May 19, 2020, 3:56pm UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/4 "2020-05-19T15:56:27Z")

</div>

See my answer in green. If you are confident that your app has the permission for LL-HLS from Apple, send us a support ticket and we’ll take a look. But, your error codes suggest they do not.

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [May 19, 2020, 3:55pm UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/5 "2020-05-19T15:55:11Z")

</div>

**NOTE: Test stream playback**

LL-HLS streams can be played in native apps on devices running iOS 13. In order to enable low-latency playback, a native app must carry the com.apple.developer.coremedia.hls.low-latency entitlement.

See the Apple Developer [Entitlements](https://developer.apple.com/documentation/bundleresources/entitlements) reference for more information, but note that this pre-release LL-HLS entitlement may not be listed.

@Vinh Nguyen and @ks ko

[https://www.wowza.com/docs/deliver-apple-low-latency-hls-live-streams-using-wowza-streaming-engine#test-stream-playback](https://www.wowza.com/docs/deliver-apple-low-latency-hls-live-streams-using-wowza-streaming-engine#test-stream-playback)

If you are not aware: Just because Wowza supports LL-HLS doesn’t mean you have a native app that supports LL-HLS. It’s still a new spec and it requires permission from Apple.

---

<div class="post-metadata">

### Author: ![Vinh\_Nguyen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/vinh_nguyen/32/565_2.png) [@Vinh\_Nguyen](https://community.wowza.com/u/Vinh_Nguyen)
#### Post date: [May 27, 2020, 3:32pm UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/6 "2020-05-27T15:32:27Z")

</div>

You’re right, LL-HLS is only played on iOS devices. Thank you

---

<div class="post-metadata">

### Author: ![Vinh\_Nguyen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/vinh_nguyen/32/565_2.png) [@Vinh\_Nguyen](https://community.wowza.com/u/Vinh_Nguyen)
#### Post date: [May 30, 2020, 2:57pm UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/7 "2020-05-30T14:57:55Z")

</div>

Hi @Rose Power-Wowza Community Manager,

If I want to deliver CMAF low latency to use in any platform from Android/Web/iOS, What can I do with CMAF configuration to deliver with 3s latency?At this moment, I can deliver stream with 5s-6s latency with cmafSegmentDurationTarget = 1000 and cmafMaxSegmentCount = 3.

Thanks

---

<div class="post-metadata">

### Author: ![Nguyen\_Canh\_Toan](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@Nguyen\_Canh\_Toan](https://community.wowza.com/u/Nguyen_Canh_Toan)
#### Post date: [July 29, 2022, 9:36am UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/8 "2022-07-29T09:36:37Z")

</div>

> [@Vinh\_Nguyen](#):
>
> You’re right, LL-HLS is only played on iOS devices. Thank you

Hi @Vinh_Nguyen.  
I can’t start player with this setting because it’s very lag.  
Did you help me this ?

---

<div class="post-metadata">

### Author: ![Nguyen\_Canh\_Toan](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@Nguyen\_Canh\_Toan](https://community.wowza.com/u/Nguyen_Canh_Toan)
#### Post date: [July 29, 2022, 9:43am UTC](https://community.wowza.com/t/low-latency-hls-using-cmaf/54185/9 "2022-07-29T09:43:10Z")

</div>

@Rose_Power-Wowza_Com  
Could you help me ?
