Skip to main content
Known Participant
Dec 13, 2010 10:11 AM UTC
Answered

NetConnection.proxyType not works

Hi,

I need a solution for this: when the port 1935 is closed, the NetConnection switch rtmpt (port 80). The NetConnection class built in function: proxyType="HTTP" not works or I use not rightly.

In the FLVPlayback class works this function, but I don't know how...

Please help me!

Thank's!

    This topic is closed to new replies. Start a new post to keep the conversation going.
    SE_0208Correct answer
    Participating Frequently
    Dec 14, 2010 10:46 AM UTC

    Thank's for the patience:-)

    Say if 1935 is not blocked - your rtmp connection is going through fine? It's fine

    Now when 1935 is blocked - if you try rtmpt directly does the connection go through.  It's fine, but much slower compared to rtmp: connect, sharedObject read-write, etc...is it normally???

    if you don't set up proxyType property at all - what results do you see. The rtmp not works, but the rtmpt works. (if port 1935 closed)

    Also have you configured FMS to listen to 80? Yes.


    So fallback to rtmpt does work and yes "rtmpt" would be slower compared to rtmp.

    As far as proxyType is concerned - even i don't have complete information of how each settings should work and when to use them.

    But if you don't use it  atleast your fallback to rtmpt works and that is what you needed i suppose

    7 replies

    Participating Frequently
    Dec 13, 2010 11:11 AM UTC

    What does your URI looks like? Do you specify port in your URI? If not try setting it to "none" and see if that works.

    Translate
    tomipontAuthor
    Known Participant
    Dec 13, 2010 11:20 AM UTC

    My uri:

    rtmp://www.domain.com/

    is it not correct?

    Translate
    Participating Frequently
    Dec 14, 2010 4:48 AM UTC

    You meant rtmp://www.domain.com/appName - Am i right? Also did you try using "none" instead of "HTTP" ?

    Translate