# Wowza with cmaf or llhls reduce latency

**URL:** <https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209>\
**Category:** Wowza Streaming Engine\
**Created:** [July 29, 2022, 9:32am UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209 "2022-07-29T09:32:10Z")\
**Posts on this page:** 8\
**Page:** 1

<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:32am UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209/1 "2022-07-29T09:32:11Z")

</div>

HI @all!  
Hope you have a nice day.  
I am currently configuring according to the following 2 links  
**A. CMAF HLS/DASH**  
[https://www.wowza.com/docs/stream-using-cmaf-with-wowza-streaming-engine](https://www.wowza.com/docs/stream-using-cmaf-with-wowza-streaming-engine)  
**B. You’ll need to setup a 2nd application for LL-HLS here:**

[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 have a question regarding using cmaf and llhls on wowza about latency :  
I pushed rtmp to wowza server from OBS and use extension chrome hls player to view clock time but **latency about 15-30 seconds**.

P/s :

- Wowza server : 4.8.0
- Setting
  - cmafSegmentDurationTarget :2000 ms
  - cmafPlaylistSegmentCount : 3

I want to reduce the delay to about 3-5 seconds.  
Do you have any advice for me?  
Thank you!

---

<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:** [August 1, 2022, 6:36pm UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209/2 "2022-08-01T18:36:23Z")

</div>

> [@Nguyen\_Canh\_Toan](#):
>
> extension chrome hls player

Hello @Nguyen_Canh_Toan thanks for reaching out, I think what stands out here for me is that not all HLS players support LL-HLS and I am not sure about that chrome extension player, but I don’t think it does based on a bog I read:

_On the other hand, players that had not been optimized for LL HLS, like the Native HLS Playback Chrome extension, showed latency as high as 26 seconds, which tends to prove that LL HLS is backward compatible on non-LL HLS players, though at normal latency._

There are player that do support LL-HLS and you can see some of those here:

> **[How to Implement Low-Latency HLS (LL HLS)](https://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=151723)**
>
> Rather than focusing on random tasks, this tutorial will walk you through the fundamentals of encoding for low latency HLS with FFmpeg, OBS, Mux Video, and THEOplayer

---

<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:** [August 1, 2022, 6:38pm UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209/3 "2022-08-01T18:38:07Z")

</div>

You can test LL-HLS streams by entering the playback URL in the Safari browser on iOS 14, other native apps on devices running iOS 14, or any player that supports LL-HLS. If a player supports HLS but not LL-HLS, it will default to playing LL-HLS streams as standard HLS at a higher latency.

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

---

<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:** [August 2, 2022, 10:25am UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209/4 "2022-08-02T10:25:05Z")

</div>

> [@Rose\_Power-Wowza\_Com](#):
>
> There are player that do support LL-HLS and you can see some of those here:

Hi @Rose_Power-Wowza_Com!  
I pushed with link rtmp://x.x.x.x:1935/livecmaf  
and load from [http://players.akamai.com/players/hlsjs](http://players.akamai.com/players/hlsjs) with link http:///x.x.x.x:1935/livecmaf/stream01/playlist\_sfm4s.m3u8 but it still latency about 15 seconds

Please support me!

---

<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:** [August 2, 2022, 3:59pm UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209/5 "2022-08-02T15:59:46Z")

</div>

Can you tell me what you have for your cupertino settings:

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

Reduce the number of some of these properties, you may have to experiment to see what kind of latency you get.

[https://www.wowza.com/docs/configure-cmaf-packetization-in-wowza-streaming-engine](https://www.wowza.com/docs/configure-cmaf-packetization-in-wowza-streaming-engine)

Also make sure you are starting on a keyframe- that’s very important because the video won’t start until it seeks out the keyframe.

Please get a support ticket so we can spare you the trouble of trying to troubleshoot this, we need full access to your configuration and files to accurately diagnose the problem.

---

<div class="post-metadata">

**Author:** ![jungin.kim](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jungin.kim](https://community.wowza.com/u/jungin.kim)\
**Post date:** [August 26, 2024, 7:27am UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209/6 "2024-08-26T07:27:45Z")

</div>

For a single stream, we confirmed that the LL-HLS delay time is 5-6 seconds in Safari.

Is this same 5-6 second delay observed with multiple streams (ABR) as well?

I’m currently testing this on my iPhone, but whenever I load it, I experience a delay of 20 seconds, though it drops to 5-6 seconds if I immediately adjust the progress bar.

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [August 29, 2024, 1:13pm UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209/7 "2024-08-29T13:13:33Z")

</div>

Hi Jungin,  
I was unable to reproduce the behaviour you described. As such, it’s possible that this issue is either limited to your environment or the player you’re using.

I tested playback using the [Wowza-Flowplayer demo page](https://try.flowplayer.com/) and recommend you test with this player too as this should help to narrow down the cause of this problem.

If you’re still having issues with latency of adaptive bitrate streams with the LL-HLS protocol, I recommend that you [create a ticket with the Technical Support Team](https://portal.wowza.com/account/support) and ensure to provide them with the configuration files, log files created during the reproduction of the issue and a copy of the .smil file used for playback.

If the stream is live and publicly available, the HLS playback URL that’s used would also be helpful for the Technical Support Team to troubleshoot further. Please share this in the ticket (not the public forum).

Regards,  
**Jason Hilton**  
Senior Technical Support Engineer  
**WOWZA** | _The **solution** you start with, the **partner** you scale with._

[**Manage your Support cases online**](https://portal.wowza.com/account/support)

**Bookmark our** [**FAQ page**](https://support.wowza.com/hc/en-us)

**Bookmark our** [**Status page**](https://status.wowza.com/)

![](https://api-na1.hubspot.com/filemanager/api/v2/files/170077726758/signed-url-redirect?portalId=229276)

---

<div class="post-metadata">

**Author:** ![jungin.kim](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jungin.kim](https://community.wowza.com/u/jungin.kim)\
**Post date:** [September 2, 2024, 2:26am UTC](https://community.wowza.com/t/wowza-with-cmaf-or-llhls-reduce-latency/95209/8 "2024-09-02T02:26:33Z")

</div>

Hello, Jason\_Hilton

Thank you so much for your response.

I am currently requesting my supervisor to issue a ticket.

Currently, we are conducting tests on safari and quicktime, which are basic browsers, at the request of the app development team.

The app development team wants stable latency maintenance and more than two hours of playback in safari and quicktime.

In the iPhone 14 version, it was confirmed that the delay time was maintained in Safari and played stably,

In version 17, we’re seeing a delay of more than 20 seconds, which is changing with each reload.

I will attach the used smil file

 ![smil](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/2X/2/21cfa7870088ab03fcf3cba193a3b50931b3f82b.png)

Note) I disabled the skipUntil setting because there was a playback disconnection, and I configured the other part as the default option.

Note) It is configured as streamlock, and use http2

Note) settings value,  
cmafSegmentDurationTarget : 6000  
cmafMaxSegmentCount : 10  
cmafPlaylistSegmentCount : 5  
cmafRepeaterSegmentCount : 5  
cmafLLEnableLowLatency : true  
cmafLLChunkingScheme : byDuration  
cmafLLChunkDurationTargetVideo : 1000  
cmafLLChunkDurationTargetAudio : 1000

only use cmafstreamingpacketizer

* * *

Thank you very much for responding to my questions.
