Hi,
I used this documentation page as a reference for what I’m trying to do: https://www.wowza.com/docs/how-to-use-java-api-calls-to-resolve-smil-file-requests
So far I have had good luck with it, except for audio only streams. I have a live HLS stream using the transcoder. The video streams work fine, but for some reason it seems the manifest is malformed with the location to the audio only stream.
Here’s how I am generating the audio only stream MediaListRendition:
MediaListRendition audioRendition = new MediaListRendition();
audioRendition.setType(IVHost.CONTENTTYPE_AUDIO);
audioRendition.setName("2d13640584794b38bda36582a4c49192_a");
audioRendition.setBitrateAudio(64000);
segment.addRendition(audioRendition);
When I generate the SMIL file using mediaList.toSMILString(), the audio portion looks fine:
However, when I request the manifest file from Wowza, the chunklist file for the audio only stream is off:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=150000
chunklist_b150000.m3u8?wowzacaptionfile=2d13640584794b38bda36582a4c49192_150
#EXT-X-STREAM-INF:BANDWIDTH=64000
chunklist_b64000_ao.m3u8?wowzacaptionfile=2d13640584794b38bda36582a4c49192_150
#EXT-X-STREAM-INF:BANDWIDTH=268000
chunklist_b268000.m3u8?wowzacaptionfile=2d13640584794b38bda36582a4c49192_150
#EXT-X-STREAM-INF:BANDWIDTH=668000
chunklist_b668000.m3u8?wowzacaptionfile=2d13640584794b38bda36582a4c49192_150
#EXT-X-STREAM-INF:BANDWIDTH=1000000
chunklist_b1000000.m3u8?wowzacaptionfile=2d13640584794b38bda36582a4c49192_150
#EXT-X-STREAM-INF:BANDWIDTH=1800000
chunklist_b1800000.m3u8?wowzacaptionfile=2d13640584794b38bda36582a4c49192_150
If I make a request for that chunklist, I get a 404. If I make a request for the correct chunklist (chunklist_b64000_a.m3u8) I get the correct response.
Here is the log message for the bad request for chunklist_b64000_ao.m3u8:
HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Stream not found [rlitiu/amlst:2d13640584794b38bda36582a4c49192/chunklist_b64000_ao.m3u8]: 2d13640584794b38bda36582a4c49192_a
Is this something that Wowza is doing intentionally? Is there any way to make the manifest list chunklist_b64000_a.m3u8 instead?
Thanks,
Nick