AMLST for live DASH & HLS

Hello!

I’m trying to use amlst to generate manifests with multiple audio tracks:

http://community.wowza.com/community/questions/43510/mpeg-dash-vod-with-alternate-audio-tracks-and-usin.html

I have 4 video-only streams and two audio-only streams from rtmp input

setWowzaAudioOnly(true) to audio stream works for hls only then I enable cupertinoCreateAudioOnlyRendition in application settings. In other case wowza returns index,m3u8, but I get 404 errors for chunklists.

When I used setWowzaVideoOnly(true) to video stream I’m starting to get 404 for hls chunklist anyway.

Is it normal?

DASH doesn’t work at all(

Wowza successfully returns manifest.mpd and audio init fragments, but video init fragments are returned with a 404 without any error in logfiles.

At the same time, without amlst that streams play normally in dash and hls

What can I do to solve the problem?

Settings for audio:

rendition.setName(stream.getName());
rendition.setTitle("q" + Integer.toString(i));
rendition.setBitrateAudio(stream.getPublishBitrateAudio());
rendition.setAudioCodecId(audio.toCodecsStr());
rendition.setWowzaAudioOnly(true);    
WMSProperties properties = rendition.getProperties(true);
properties.setProperty("cupertinoTag", "EXT-X-MEDIA");
properties.setProperty("cupertinoTag.GROUP-ID", "aac");
if (is_first) {                        
    properties.setProperty("cupertinoTag.DEFAULT", "YES");
    is_first=false;
}else {
    properties.setProperty("cupertinoTag.DEFAULT", "NO");
}

Settings for video:

rendition.setName(stream.getName());
rendition.setTitle("q" + Integer.toString(i));
rendition.setBitrateVideo(stream.getPublishBitrateVideo());
rendition.setVideoCodecId(video.toCodecsStr());
rendition.setWidth(video.getVideoWidth());
rendition.setHeight(video.getVideoHeight());
WMSProperties properties = rendition.getProperties(true);
properties.setProperty("cupertinoTag.AUDIO", "aac");

Sorry to hear you are experiencing issues. Unfortunately, we can’t debug it in forums because we need to have access to your full config and logs for all those streams. Can you please submit a support ticket and we will take a closer look? Thank you.

https://www.wowza.com/support/open-ticket

I’ve found the problem! It was in that line:

rendition.setBitrateVideo(stream.getPublishBitrateVideo());

I replace stream.getPublishBitrateVideo() to constant value and everything has become ok!