2 Replies Latest reply on Mar 8, 2012 3:00 PM by bryan44321

    Redirect for FMS 4.0 / 4.5 compatibility creates wrong bootstrap URL?


      Hi -


      I've successfully setup an HDS live stream on FMS 4.5.  I also have a seperate FMS 4.0 configured for HDS, and want to take advantage of the URL redirect mentioned at help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a338-8000 .html in order to use the same URL for both


      While I see that Apache is 301 redirecting me as expected, in practice I can't get any media to play using the  4.0-style URL (/live/events/livepkgr/events...).  This is with  the player suggested by the document at http://www.osmf.org/configurator/fmp/ .  The error message the player gives me is "We are unable to connect to the content you've requested.  We apologize for the inconvienence" .  If I put in the new 4.5-style URL for the same content (/hds-live...), it plays fine.


      Looking at the HTTP Requests, I suspect that the URL to the bootstrap is not being built properly.  It seems to be built from the 4.0-style base url, with the relative path from the 4.5 manifest added.  This creates the wrong URL.  Here's the comparison


      Bootstrap URL Using 4.5-style on FMS 4.5 [WORKS]  http://SERVER/hds-live/livepkgr/_definst_/zerinombr.f4m

      [13:31:55.177] GET http://SERVER/hds-live/streams/livepkgr/streams/_definst_/zerinombr/zerinombr.bootstrap [HTTP/1.1 200 OK 1ms]


      Bootstrap URL Using 4.0-style on FMS4.0 [WORKS]: http://SERVER/live/events/livepkgr/events/_definist_/zerinombr.f4m

      [13:36:58.141] GET http://SERVER/live/streams/livepkgr/streams/_definst_/zerinombr/zerinombr.bootstrap [HTTP/1.1 200 OK 1ms]


      Bootstrap URL Using 4.0-style on FMS 4.5 [BROKEN] http://SERVER/live/events/livepkgr/events/_definist_/zerinombr.f4m redirected to http://SERVER/hds-live/livepkgr/_definst_/zerinombr.f4m

      [13:39:19.350] GET http://SERVER/live/events/livepkgr/streams/livepkgr/streams/_definst_/zerinombr/zerinombr. bootstrap [HTTP/1.1 404 Not Found 2ms]


      Notice that the relative URL is not applied at the right depth.  "events/livepkgr/events" should be replaced with "streams/livepkgr/streams", but instead this is  appended as "live/events/livepkgr/streams/livepkgr/streams".


      My impression was that if I setup the stream correctly for 4.5, the redirect should "just work". Am I missing something?  Is there a publicly accessibly working example you can point me to?