Hello Roger,
it seems there is a strange problem with compatibility of this module with httpOriginMode. As soon as httpOrigin is turned on, it seems that wowza somehow starts caching smil replies which causes incorrect behavior of the module.
here is example:
requesting full list
root@dev:~# wget -qO- “http://127.0.0.1:1935/vod/jr01/video_1328530578/transcoded/amlst:m.smil/playlist.m3u8”
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=464000,RESOLUTION=432x240
chunklist_b464000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=314000,RESOLUTION=288x160
chunklist_b314000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=728000,RESOLUTION=480x270
chunklist_b728000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1264000,RESOLUTION=640x360
chunklist_b1264000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1864000,RESOLUTION=848x480
chunklist_b1864000.m3u8
requesting limited bitrate list, still whole list is returned
root@dev:~# wget -qO- “http://127.0.0.1:1935/vod/jr01/video_1328530578/transcoded/amlst:m.smil/playlist.m3u8?maxbitrate=728000”
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=464000,RESOLUTION=432x240
chunklist_b464000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=314000,RESOLUTION=288x160
chunklist_b314000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=728000,RESOLUTION=480x270
chunklist_b728000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1264000,RESOLUTION=640x360
chunklist_b1264000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1864000,RESOLUTION=848x480
chunklist_b1864000.m3u8?maxbitrate=728000
requesting limited bitrate list again, now it works!
root@dev:~# wget -qO- “http://127.0.0.1:1935/vod/jr01/video_1328530578/transcoded/amlst:m.smil/playlist.m3u8?maxbitrate=728000”
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=464000,RESOLUTION=432x240
chunklist_b464000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=314000,RESOLUTION=288x160
chunklist_b314000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=728000,RESOLUTION=480x270
chunklist_b728000.m3u8?maxbitrate=728000
requesting another limited bitrate list again, it works!
root@dev:~# wget -qO- “http://127.0.0.1:1935/vod/jr01/video_1328530578/transcoded/amlst:m.smil/playlist.m3u8?maxbitrate=1264000”
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=464000,RESOLUTION=432x240
chunklist_b464000.m3u8?maxbitrate=1264000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=314000,RESOLUTION=288x160
chunklist_b314000.m3u8?maxbitrate=1264000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=728000,RESOLUTION=480x270
chunklist_b728000.m3u8?maxbitrate=1264000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1264000,RESOLUTION=640x360
chunklist_b1264000.m3u8?maxbitrate=1264000
requesting first limited bitrate list again, it still returns result for a previous query
root@dev:~# wget -qO- “http://127.0.0.1:1935/vod/jr01/video_1328530578/transcoded/amlst:m.smil/playlist.m3u8?maxbitrate=728000”
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=464000,RESOLUTION=432x240
chunklist_b464000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=314000,RESOLUTION=288x160
chunklist_b314000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=728000,RESOLUTION=480x270
chunklist_b728000.m3u8?maxbitrate=728000
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1264000,RESOLUTION=640x360
chunklist_b1264000.m3u8?maxbitrate=728000
also what I see, the requests with incorrect answers are not getting logged at all. also if I wait from 5 to 10 seconds between each request, the answers are correct.
is it normail wowza behavior or a “feature”?