Wowza Community

Return Custom Status Code (404) when Using IMediaListProvider


We need to be able to return a custom status code for IMediaListProvider generated manifests in some cases (for example when no renditions are available at the moment).

Using httpSession.rejectSession(); inside onHTTPSessionCreate does not work as onHTTPSessionCreate() comes before IMediaListProvider.resolveMediaList().

Is there a way how we can intercept the HTTP response for HLS/DASH manifests and set status code?

Thank you in advance,