actionscript 3 - AS3 (Flex/MXML) rtmp connection rejected on localTrusted file -



actionscript 3 - AS3 (Flex/MXML) rtmp connection rejected on localTrusted file -

i'm writing application connects external rtmp server live stream. opening file firefox on localhost (apache 2.2 server) works fine , i'm getting stream. if i'm opening file file protocol (file:///) error "netconnection.connect.rejected" , "netconnection.connect.closed".

i'm assuming happens because of security restrictions of flash player , have set flash file trusted in /etc/adobe/flashplayertrust/trusted.cfg (after alter security.sandboxtype returning localtrusted). alter connection still gets rejected. rtmp address contains port 1935 , have tried utilize rtmpt protocol in case i'm getting error "netconnection.connect.failed".

the event handler gets thrown netstatusevent there no security exception. have read many documentations , looked hours can't figure out why doesn't work.

actionscript-3 flex mxml rtmp

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

How do you set up a perforce server to work over the internet? -

ios - Lagging ScrollView with UIWebview inside -