8-[ rtmpt://domain:80/logaprotect/session/MS40NTAxNTQ5NTM2MUUrMzU >>> I think that the path (and any other arguments which could be used >>> for >>> authorization as in RTPM) are simply ignored with RTMPT. But please >>> prove me that I am wrong. Seems you're right.
Le 15 août 06, à 01:44, Roberto Saccon a écrit : > No, I mean what URL do YOU set at Netstream.connect() . > > /open/1 is appended by the flashplayer when doing the HTTP POST to > establish the connection. > > On 8/14/06, erixtekila <[EMAIL PROTECTED]> wrote: >>> Thanks. But what was the url you used at Netstream.connect() ? You >>> can remove the hostname, just leave the path, if there was any ! >> Path is : rmtpt://domain:80/open/1 >> Then rmtpt://domain:80/idle/-2140711992/0 >> >> >>> >>> I think that the path (and any other arguments which could be used >>> for >>> authorization as in RTPM) are simply ignored with RTMPT. But please >>> prove me that I am wrong. >>> Of course authenticating can be done when the connenction is >>> establishes already, and then disconnecting if no credentials are >>> provided, but that would be sub-optimal. >>> >>> >>> On 8/14/06, erixtekila <[EMAIL PROTECTED]> wrote: >>>> Here is a short session using rtmpt on FCS 1.5 : >>>> >>>> POST /open/1 HTTP/1.1 >>>> User-Agent: CFNetwork/1.1 >>>> Content-Type: application/x-fcs >>>> Content-Length: 1 >>>> Connection: close >>>> Host:************** >>>> >>>> POST /idle/-2140711992/0 HTTP/1.1 >>>> User-Agent: CFNetwork/1.1 >>>> Content-Type: application/x-fcs >>>> Content-Length: 1 >>>> Connection: close >>>> Host: ************** >>>> >>>> POST /send/-2140711992/1 HTTP/1.1 >>>> User-Agent: CFNetwork/1.1 >>>> Content-Type: application/x-fcs >>>> Content-Length: 1537 >>>> Connection: close >>>> Host: *************** >>>> >>>> I've remove the host informations. >>>> >>>> Basically, there is one request with open that sends : 00 >>>> The server answers an id that will be used for the next request : >>>> -2140711992 >>>> >>>> Then, idle with the same content : 00 >>>> Note the use of the id in the url of idle. >>>> Answer is : 01 >>>> >>>> There is no mention of the path. >>>> HTH >>>> ----------- >>>> erixtekila >>>> http://blog.v-i-a.net/ >>>> >>>> Le 14 août 06, à 18:10, Roberto Saccon a écrit : >>>> >>>>> I started to experiment with rtmpt. But I observed a strange thing >>>>> with my flash clients (written in haxe): >>>>> >>>>> >>>>> No matter what URL I choose (e.g.: >>>>> rtmpt://mydomain.com:8080/myapp), >>>>> the first command which gets send to the server (and I only >>>>> detected >>>>> it with packet sniffer ethereal) is: >>>>> >>>>> POST /open/1 HTTP/1.1 >>>>> >>>>> >>>>> That is basically ok according to Joachim Bauchs RTMPT >>>>> "specification", but what is missing is the application path, in >>>>> this >>>>> case: "mypath". >>>>> >>>>> I tried that with various flasplayer versions on various Operating >>>>> systems and always had the same results. My flashplayer is in Haxe, >>>>> but I examined its source code and it does nothing special at >>>>> NetConennection.connect() and for RTMP is works as expected. >>>>> >>>>> Does that strange thing only happen to me ? Any others using RTMPT >>>>> ? >>>>> Any explanations ? >>>> >>>> >>>> _______________________________________________ >>>> Red5 mailing list >>>> [email protected] >>>> http://osflash.org/mailman/listinfo/red5_osflash.org >>>> >>> >>> >>> -- >>> Roberto Saccon >>> >>> _______________________________________________ >>> Red5 mailing list >>> [email protected] >>> http://osflash.org/mailman/listinfo/red5_osflash.org >>> >> >> >> _______________________________________________ >> Red5 mailing list >> [email protected] >> http://osflash.org/mailman/listinfo/red5_osflash.org >> > > > -- > Roberto Saccon > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
