I’m generating AMLST via module. DASH is working just fine. Trying to get HLS working and need help in setting this up correctly in my module for AMLST.
Here is a snippet from my module for a particular single rendition (I have 7 total):
MediaListRendition rendition150 = new MediaListRendition();
segment.addRendition(rendition150);
rendition150.setName("mp4:"+streamName+"_150.mp4");
rendition150.setBitrateAudio(96000);
rendition150.setBitrateVideo(252000);
rendition150.setWidth(320);
rendition150.setHeight(180);
rendition150.setAudioCodecId("mp4a.40.2");
rendition150.setVideoCodecId("avc1.66.12");
WMSProperties properties150 = rendition150.getProperties(true);
properties150.setProperty(HTTPStreamerCupertinoIndexPlaylist.SMIL_TAGS_AUDIO, "aac");
properties150.setProperty(HTTPStreamerCupertinoIndexPlaylist.SMIL_TAGS_GROUP_ID, "aac");
properties150.setProperty(HTTPStreamerCupertinoIndexPlaylist.SMIL_TAGS_NAME, "English");
properties150.setProperty(HTTPStreamerCupertinoIndexPlaylist.SMIL_TAGS_LANGUAGE, "eng");
properties150.setProperty(HTTPStreamerCupertinoIndexPlaylist.SMIL_TAGS_TAG, HTTPStreamerCupertinoIndexPlaylist.SMIL_TAG_TYPE_MEDIA);
properties150.setProperty(HTTPStreamerCupertinoIndexPlaylist.SMIL_TAGS_DEFAULT, HTTPStreamerCupertinoIndexPlaylist.SMIL_VALUE_YES);
properties150.setProperty(HTTPStreamerCupertinoIndexPlaylist.SMIL_TAGS_AUTOSELECT, HTTPStreamerCupertinoIndexPlaylist.SMIL_VALUE_YES);
This works for DASH fine, but when I get the manifest for HLS, it’s not working for players.
Here is the URL for a sample file on my Wowza server (this should be valid for about a week from this date):
I’ve tried playing this here with no success: https://www.hlsplayer.net/
I’ve also tried playing that in VLC with no success.
If I GET the manifest in Postman, this is what’s returned:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="eng",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1594811756_b348000.m3u8?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="eng",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1594811756_b565000.m3u8?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="eng",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1594811756_b833000.m3u8?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="eng",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1594811756_b1035000.m3u8?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="eng",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1594811756_b1400000.m3u8?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="eng",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1594811756_b1904000.m3u8?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="eng",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1594811756_b2410000.m3u8?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b"
And then inside a given chunklist, I get this:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:10.0,
media_w1594811756_b348000_0.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_1.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_2.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_3.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_4.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_5.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_6.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_7.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_8.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_9.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_10.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_11.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_12.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_13.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_14.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_15.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_16.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_17.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_18.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_19.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_20.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_21.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_22.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_23.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_24.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_25.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_26.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_27.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_28.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_29.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_30.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_31.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_32.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_33.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_34.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_35.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_36.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_37.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_38.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_39.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_40.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_41.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_42.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_43.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_44.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_45.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_46.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_47.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_48.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_49.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_50.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_51.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_52.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_53.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_54.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_55.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_56.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_57.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:10.0,
media_w1594811756_b348000_58.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXTINF:6.496,
media_w1594811756_b348000_59.ts?streamID=af58ed0a-41f7-4875-ac88-a6e1761e8b2b
#EXT-X-ENDLIST
Thanks in advance