On 10/23/06, Adam Duston <[EMAIL PROTECTED]> wrote:
> Dear Red Fivers,
>
> I noticed in http://www.acmewebworks.com/Downloads/openCS/TheAMF.pdf
> and from the Red5 source that RTMP messages are often interweaved, and
> I had just a couple of questions if anyone would like to answer them:
>
> 1. Does anyone know how I can get a Flash player to produce an
> interweaved RTMP call like the one shown in the pdf file using Notify
> and Invoke events alone? Meaning, I want to reproduce the interweaving
> by making calls on a NetConnection object. Any advice?

Normally it happens when the flash client is publishing video and
audio. I think its got more to do with how much is going on. We coded
with the assumption it happens sometime. Are you creating a server
implementation or helping to improve red5?

> 2. I noticed in the Red5 RTMP class that the read/writeHeaders and
> read/writePackets arrays are dimensioned to 128, when it would seem
> that they only have to be dimensioned to 64. In fact, the channels
> variable in RTMPConnection is dimensioned to 64. it seems that the
> channels in RTMP are always selected using RTMPUtils#decodeChannelId;
> this method masks its return value against 0x3f, so it cannot possibly
> return a value greater than 63. so am i right that in RTMP, elements
> 64-127 of those four arrays always remain null?

Thats probably the case thanks for pointing it out.

- Luke

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to