Results 1 to 5 of 5

Thread: allow doamin on client to get xml wowza data

  1. #1

    Default allow doamin on client to get xml wowza data

    when i call the wowza server from a remote flash client using 1935 port to get back a XML of data, i get "Could not load xml ".
    I can get the wowza server xml data only if also the webserver is running on the same machine.
    I think it's a issue with flash security domain so i added this
    Security.allowDomain(hostserver)
    where hostserver is the IP or the domain url of the wowza server, but with no luck.

    Is there any solution to allow the client to get the xml server data ?
    thanks in advance.

  2. #2
    Join Date
    Dec 2007
    Posts
    25,655

    Default

    You need a crossdomain.xml file to be served on the same port. Wowza serves an empty crossdomain.xml file by default.

    http://[wowza-address]:1935/crossdomain.xml

    You can modify this by putting your own crossdomain.xml in the Wowza /conf folder. This is very permissive example:

    Code:
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> 
    <cross-domain-policy> 
    <site-control permitted-cross-domain-policies="all"/> 
    <allow-access-from domain="*"/> 
    <allow-http-request-headers-from domain="*" headers="*"/> 
    </cross-domain-policy>
    Richard

  3. #3

    Default

    thanks Ill try noew,
    but why i can get the data calling the same URL via browser?

  4. #4

    Default not works

    i used your crossdomain.xml file, copied in the wowza conf dir and restarted the server,
    it's not working via flash client, only via browser

  5. #5
    Join Date
    Dec 2007
    Posts
    25,655

    Default

    You might actually need the crossdomain.xml on the web server

    Richard

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •