2 Replies Latest reply on Nov 2, 2009 9:32 PM by smarcus99

    NetNegotiator too zealous by default?

    smarcus99 Level 1

      NetNegotiator initiates 8 connection attempts when provided with a default url: rtmp://host

       

       

       

      rtmp://host:1935

      rtmp://host:443

      rtmp://host:80

      rtmps://host:1935

      rtmps://host:443

      rtmps://host:80

      rtmpt://host:1935

      rtmpt://host:443

      rtmpt://host:80

       

       

      If the SSL connections were eliminated by default this would be reduced to 4:

      rtmp://host:1935

      rtmp://host:80

      rtmpt://host:1935

      rtmpt://host:80

       

       

      I've done this but I had to copy-paste code from NetNegotiator.as in a subclass and then subclass NetConnectionFactory to change the functionality in NetLoader.
      Should the connection attempts be more limited by default?
      Is it reasonable to knock on all the SSL connections by default?
      Should NetNegotiator be a little more tuneable without subclassing?
      Thanks for osmf!
      S