Hello!
I’m trying to use amlst to generate manifests with multiple audio tracks:
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");