[Red5] Can I stop Red5 using 1-byte headers?

Andy Shaules bowljoman at hotmail.com
Tue Dec 2 08:39:11 PST 2008


I thought one byte header meant it was left over data from previous packet.
  ----- Original Message ----- 
  From: Stijn Raaijmakers 
  To: red5 at osflash.org 
  Sent: Tuesday, December 02, 2008 3:30 AM
  Subject: [Red5] Can I stop Red5 using 1-byte headers?


  Hi all,

   

  We are still working on our C# implementation of RTMP and I'm running into the following issue. It seems like Red5 suddenly decided to stop using 8 or 12 headers for the RTMP packages it sends, but sticks to 1-byte header. So for example if it were to send a result it would look something like:

   

  C3 02 00 07 _ r e s u l t 00 00 40 20 00 00 00 00 00 05

  or:

  C3 "result" 1.0 NULL

   

  Obviously, with such a header, you don't know the contentsize of the packet, which means I have to make my parser unnecessary complex. I'd rather just have those extra 11 bytes of 'traffic'.

   

  So my question: can I somehow force Red5 to always use long headers with the contentsize in it?

   

  Thanks a lot for any help,

   

  Stijn



------------------------------------------------------------------------------


  _______________________________________________
  Red5 mailing list
  Red5 at osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20081202/e5bf4370/attachment-0001.html>


More information about the Red5 mailing list