Quantcast
Channel: Adobe Community : Discussion List - HTTP Dynamic Streaming
Viewing all articles
Browse latest Browse all 130

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

$
0
0

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/WSeb6b7485f9649bf23d10 3e5512e08f3a338-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/ze rinombr.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/zerino mbr.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?

 

Thanks,


Viewing all articles
Browse latest Browse all 130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>