[Red5] RTMPT trouble

Roberto Saccon rsaccon at gmail.com
Mon Aug 14 18:29:49 EDT 2006


Thanks. But what was the url you used at Netstream.connect()  ? You
can remove the hostname, just leave the path, if there was any !

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 <erixtekila at gmail.com> 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
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


-- 
Roberto Saccon



More information about the Red5 mailing list