Hi guys,

First off congrats for the good work!

I'm working on an application that streams video data into FMS. I've  
been through the Red5 docs and other available information and gotten  
to the stage
where I've created a stream and called publish on it in live mode.
I've captured the first five video packets that a Flash movie sends  
to the FMS from a webcam, and if I load these packets up into a  
buffer and send them
to the FMS at this point, it works as expected (another test Flash  
movie displays the stream).

The problem is I don't really seem to understand how to build these  
RTMP video packets, basically, everything after the 0x09 video data  
marker is completely
gibberish, up until what seems to be video data (from the visual hex  
patterns).
There's the packet start byte, 3 bytes, yet more three bytes that  
indicate the video data size, 0x09, some other bytes that I don't  
understand and appear to
be more or less the same in each following full packets, then video  
data.

I've tried to build video packets with bogus video data (0xFF for  
instance) and copied in the mystery bytes from the 1st video packet  
Flash sent, and after
sending a few of these packets the server closes the connection and  
the FMS administration console shows an error message saying that the  
client is not allowed
to broadcast. Note that if instead I load the etherealed video  
packets from raw files and send those instead, everything works as  
expected.

Can you guys help? Thanks a lot!

Cheers and kind regards,
--
Radu-Adrian Popescu
CSA,DBA,Programmer
+40723335573




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

Reply via email to