# nDVR for hls alternative audio

**URL:** <https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760>\
**Category:** Wowza Streaming Engine\
**Created:** [March 30, 2022, 12:48pm UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760 "2022-03-30T12:48:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![egor\_voronin3](https://avatars.discourse-cdn.com/v4/letter/e/13edae/32.png) [@egor\_voronin3](https://community.wowza.com/u/egor_voronin3)\
**Post date:** [March 30, 2022, 12:48pm UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760/1 "2022-03-30T12:48:34Z")

</div>

I created a smil file for live streaming with alternative audio. Everything works in live mode.  
But if I add ?dvr option - everything stops working.  
I download manifest file and check streams. Audio streams in dvr mode - not working (timeout). In live mode - Everything fine.  
After I check this audio stream in dvr mode without smil file (source stream) - everything work to.

what could be the problem ?

---

<div class="post-metadata">

**Author:** ![egor\_voronin3](https://avatars.discourse-cdn.com/v4/letter/e/13edae/32.png) [@egor\_voronin3](https://community.wowza.com/u/egor_voronin3)\
**Post date:** [March 30, 2022, 3:18pm UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760/2 "2022-03-30T15:18:18Z")

</div>

I made a new smil file, added one video and two audios.  
Everything works fine without the dvr.

with the DVR again the same problem, I looked at the manifest file, for some reason it contains a chunklist for one of the audio - 404, there is an error in the logs:  
HTTPStreamerAdapterCupertinoStreamer.service: Request timeout: 8000

---

<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:** [March 30, 2022, 5:58pm UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760/3 "2022-03-30T17:58:11Z")

</div>

> [@egor\_voronin3](#):
>
> I looked at the manifest file, for some reason it contains a chunklist for one of the audio - 404, there is an error in the logs:  
> HTTPStreamerAdapterCupertinoStreamer.service: Request timeout: 8000

It’s possible we don’t support multi-audio for DVR. Let me check with support and I’ll be back very soon for you @egor_voronin3

---

<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:** [March 30, 2022, 8:54pm UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760/4 "2022-03-30T20:54:21Z")

</div>

Can you try adjusting this to 30000 (30 seconds) in your DVR settings?

```
<Properties>
<Property>
    <Name>streamTimeout</Name>
    <Value>300000</Value>
    <Type>Integer</Type>
</Property>

```

[https://www.wowza.com/docs/how-to-do-advanced-configuration-for-wowza-ndvr#streamtimeout21](https://www.wowza.com/docs/how-to-do-advanced-configuration-for-wowza-ndvr#streamtimeout21)

If that doesn’t work, please send a support ticket and we’ll review how to get this working for you with multiple audio.

Rose

---

<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:** [March 30, 2022, 11:59pm UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760/5 "2022-03-30T23:59:46Z")

</div>

Also the engineers suggest taking a look a this:

“If they have things working for live I would think it should generally work ok for DVR, unless there are alignment issues in the source tracks. The different audio tracks must be perfectly-aligned with each other and the video tracks or else DVR playback can fail. (non-DVR is more tolerant to misalignment issues, which could be the issue.”

---

<div class="post-metadata">

**Author:** ![egor\_voronin3](https://avatars.discourse-cdn.com/v4/letter/e/13edae/32.png) [@egor\_voronin3](https://community.wowza.com/u/egor_voronin3)\
**Post date:** [March 31, 2022, 9:17am UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760/6 "2022-03-31T09:17:56Z")

</div>

> [@Rose\_Power-Wowza\_Com](#):
>
> “If they have things working for live I would think it should generally work ok for DVR, unless there are alignment issues in the source tracks. The different audio tracks must be perfectly-aligned with each other and the video tracks or else DVR playback can fail. (non-DVR is more tolerant to misalignment issues, which could be the issue.”

I use these tracks after wowza transcoder, does it align badly? (one rtmp input, transcode 1 video + 2 audio from this stream)

---

<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:** [March 31, 2022, 11:11pm UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760/7 "2022-03-31T23:11:36Z")

</div>

**Yes, it can be a bit tricky to align, but not impossible and people do it.**

DVR requires audio/video alignment.

You can debug alignment problems following this guide:

[https://www.wowza.com/docs/how-to-debug-aac-or-mp3-timecode-issues-with-apple-hls-packetization](https://www.wowza.com/docs/how-to-debug-aac-or-mp3-timecode-issues-with-apple-hls-packetization)

  

If it still gives you problems, please send us a support ticket and the tech support engineers can use some internal tools to help you get it aligned.

---

<div class="post-metadata">

**Author:** ![Valentijn\_Beeckman](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@Valentijn\_Beeckman](https://community.wowza.com/u/Valentijn_Beeckman)\
**Post date:** [June 23, 2025, 2:46pm UTC](https://community.wowza.com/t/ndvr-for-hls-alternative-audio/94760/8 "2025-06-23T14:46:18Z")

</div>

Did anyone finally got to work nDVR with Alternate Audio? Our audiostreams come from the same encoder as the videostreams. When I combine nDVR with multiple audiotracks in a single smil-file, audiochunks keep dropping. When I only put 1 audiotrack in the smilfile, nDVR works fine.
