Skip to main content
Known Participant
December 13, 2010
Answered

NetConnection.proxyType not works

  • December 13, 2010
  • 1 reply
  • 1377 views

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 has been closed for replies.
    Correct answer SE_0208

    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

    1 reply

    Participating Frequently
    December 13, 2010

    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.

    tomipontAuthor
    Known Participant
    December 13, 2010

    My uri:

    rtmp://www.domain.com/

    is it not correct?

    Participating Frequently
    December 14, 2010

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