none
请问sl4中使用UdpAnySourceMulticastClient执行多播组的连接操作,总报权限10013错误 RRS feed

  • 问题

  • <?xml version="1.0" encoding="utf-8" ?>

    <multicast-policy-responder>

      <ssm-responder>

        <!-- authorize all applications from this server to listen to our transmissions, regardless of group/port -->

        <respond-to application ="http://slapps/">

          <allowed-resource group="*" port="*" />

        </respond-to>

      </ssm-responder>

      <asm-responder>

        <!-- also authorize a trusted video player from contoso.com to access the multicast group containing live training videos on out network on 234.23.23.23:1234 (but not the restricted video feed of certain meetings on port 5678!) -->

        <respond-to application="http://localhost:3414/ClientBin/SilverlightApplication5.xap">

          <allowed-resource group="192.168.0.1" port="4508" />

        </respond-to>

      </asm-responder>

    </multicast-policy-responder>这个这么写有什么错误吗?谢谢

    2012年5月29日 7:04

答案

  • Hi,

    关于你的问题,我搜索了下,似乎是跨域文件的问题

    我建议你提供跨域文件clientaccesspolicy.xml到根目录:

      <?xml version="1.0" encoding="utf-8" ?>  
     <access-policy> 
     <cross-domain-access> 
     <policy> 
      <allow-from http-request-headers="*"> 
      <domain uri="*" />  
      </allow-from> 
      <grant-to> 
      <resource path="/" include-subpaths="true" />  
      </grant-to> 
      </policy> 
      </cross-domain-access> 
      </access-policy>
    

    如果问题还在,请告诉我,我再进行尝试

    • 已标记为答案 Otomii Lu 2012年6月7日 1:54
    2012年5月31日 2:26