Falcon-M,
Sorry for all the confusion on this thread. I think we now understand at least at a high level what you want to do. On the Wowza Server development side we have chatted internally about possible solutions to this problem. We are afraid that if we change the behavior of the HTTP processing for nDVR based URLs that we will not be able to maintain this behavior long term. So we don’t want to provide a change for this today then break it in a future build. Because of this we need to gather more information to see if there is some other way to solve this problem.
First, what is the overall goal? I assume you are using the redirect mechanism to re-route requets. More details on exactly what you are trying to build will help. Are you redirecting all URLs that enter this application to a different location? Are you only redirecting a small percentage of requests? We need to understand the mechanics.
One possible solution is to create an HTTP provider to do the redirects. An HTTP provider can be attached to any port in VHost.xml. There is more information here:
https://www.wowza.com/docs/http-providers
An HTTP Provider is like a mini java servlet. The HTTP provider is invoked based on the strucutre of the URL. For example, if you setup an HTTP provider like this:
<HTTPProvider>
<BaseClass>com.wowza.wms.falconm.HTTPProviderMyRedirector</BaseClass>
<RequestFilters>*doredirect</RequestFilters>
<AuthenticationMethod>none</AuthenticationMethod>
</HTTPProvider>
Then all URLs that end in doredirect will be handled by the redirect HTTP provider. You can then perform the redirect in the HTTP provider. For example, say you use these URLs for streaming:
http://[wowza-ip-address]/vod/mp4:sample.mp4/playlist.m3u8
http://[wowza-ip-address]/vod/mp4:sample.mp4/manifest.f4m
http://[wowza-ip-address]/vod/mp4:sample.mp4/Manifest
http://[wowza-ip-address]/vod/mp4:sample.mp4/playlist.m3u8?dvr
To enable redirection you would add the doredirect item to the patch to first force the URLs through the redirector:
http://[wowza-ip-address]/vod/mp4:sample.mp4/playlist.m3u8/doredirect
http://[wowza-ip-address]/vod/mp4:sample.mp4/manifest.f4m/doredirect
http://[wowza-ip-address]/vod/mp4:sample.mp4/Manifest/doredirect
http://[wowza-ip-address]/vod/mp4:sample.mp4/playlist.m3u8/doredirect?dvr
Would this be a viable solution?
Charlie