Skip to main content
June 6, 2012
Question

crossdomain.xml not always downloading

  • June 6, 2012
  • 1 reply
  • 1973 views

I have a peculiar problem on a new FMS4 server setup, and its difficult to explain, so I apologize in advance. I've got my videos streaming out of the vod folder, and it all seems to work well with flv and mp4 versions. The captions, however, are not playing all the time. As this is a cross-domain setup, and the captions are the only resource loaded directly by the flash player (so I am told by the developer), I've tracked it down to the crossdomain.xml file not downloading to the client when they first hit the page. After a few refreshes, the crossdomain file is received, and the captions play fine.

I built FMS4.0.3 on Windows 2008 64bit, and am using the built-in Apache. I do not have this issue with my old FMS2 setup which used IIS. The Strobe player calls for the flv via rtmp, and the caption xml file via http. Every time I hit the page with a clear cache, my Google Chrome network log lists crossdomain.xml as "Pending" (status 0), and the caption bar is missing from playback. If I hit refresh 1-4 times, it will eventually download (status 200), and the captions will show up.

I've been verifying my crossdomain file contents and location which seem appropriate, but now I am not sure if it's more an FMS4 or apache configuration. Any ideas? I appreciate your consideration.

More detail...

Page on web.mydomain.com has this code:

[strobea11y height="400" weight="24.7 Mb" flv="rtmp://fms.mydomain.com/vod/video" mp4="http://fms.mydomain.com/vod/video.mp4"

captions="http://fms.mydomain.com/vod/video.xml"]

Both flv and mp4 versions of the video playback fine, with audio. It's just the captions that don't always show.

Crossdomain.xml:

<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>

          <allow-access-from domain="*" />

          <site-control permitted-cross-domain-policies="all" />

          <allow-http-request-headers-from domain="*" headers="*"/>

</cross-domain-policy>

By the way, the apache access_log never shows a GET request for crossdomain.xml

This topic has been closed for replies.

1 reply

Adobe Employee
June 6, 2012

Can you try onething - can you make your Apache listen to port 80 and make FMS listen to just 1935 OR make http requests for captions directly on port 8134 - i just want to see if this proxying issue from Edge to Apache. Can you try and let us know.

June 7, 2012

Well, that sure did it Thanks for your quick reply.

I tried both requesting the caption xml file using :8134, then switched the listening ports for FMS and Apache, and both methods made the crossdomain.xml file download immediately, and hence the captions appear. It would seem there's a delay in the proxy?

While this meets our current needs for delivering video, it would be nice to stream via HTTP in the future. This workaround would seem to remove that possibility. Is there a fix for this proxy issue, or should i consider making a different server to host my non-streaming media content?

Thanks again for your help