Wowza Community

Send vod metadata in playlist.m3u8 for hls delivery

Hi Team,

I am very new to this wowza, I am having a smil file, which is as follows

<smil>
<head></head>
<body>
       <switch>
               <video src="mp4:myStream_360p" system-bitrate="1046608">
                       <param name="audioBitrate" value="196608" valuetype="data"/>
                       <param name="videoBitrate" value="850000" valuetype="data"/>
                       <param name="videoCodecId" value="avc1.4d401f" valuetype="data"/>
                       <param name="audioCodecId" value="mp4a.40.2" valuetype="data"/>
               </video>
               <video src="mp4:myStream_160p" system-bitrate="396608">
                       <param name="audioBitrate" value="196608" valuetype="data"/>
                       <param name="videoBitrate" value="200000" valuetype="data"/>
                       <param name="videoCodecId" value="avc1.428015" valuetype="data"/>
                       <param name="audioCodecId" value="mp4a.40.2" valuetype="data"/>
               </video>
       </switch>
</body>
</smil>

Using hls delivery i want to get feeds height, width etc which are not provided in the smil file from metadata of the files and send them in the hls delivery “playlist.m3u8” response. It should look like below.

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=330000 HEIGHT=320 WIDTH=132
chunklist_w1085404337_b300000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=770000 HEIGHT=480 WIDTH=200
chunklist_w1085404337_b700000.m3u8

Can you please help me how to proceed to achieve this ? I have tried many guides from this forum but they are not very helpful. Please point out what to do in this scenario