Charles,

RTP is substantially different from RTMP. RTP used UDP where RTMP is TCP
based. Have the client side is not a 50% bonus, since you might need a
lot of time creating the server to match it... Good luck on that!

What you really need is a capturing app for audio and video, which can
be used to send the flash streams direct to the server (my personal
preference)

>From the Flash FLV file format specification I read:

"For streaming ADPCM sound, the logic for distributing ADPCM packets
among SWF frames is identical to distributing MP3 frames among SWF
frames. However, for ADPCM sound, there is no concept of SeekSamples or
latency. For this and other reasons, MP3 is a preferable format for SWF
4 or later files."

However, MP3 puts more strain on the system.

Also from the specs:

"A common implementation takes 16-bit linear PCM samples and converts
them to 4-bit codes, yielding a compression rate of 4:1. Public domain C
code written by Jack Jansen is available at
ftp.cwi.nl/pub/audio/adpcm.zip.
The SWF file format extends Jansen's implementation to support 2-, 3-,
4- and 5-bit ADPCM codes. When choosing a code size, there is the usual
trade-off between file size and audio quality. The code tables used in
SWF file format are as follows (note that each structure here provides
only the unique lower half of the range, the upper half being an exact
duplicate):
int indexTable2[2] = {-1, 2};
int indexTable3[4] = {-1, -1, 2, 4};
int indexTable4[8] = {-1, -1, -1, -1, 2, 4, 6, 8};
int indexTable5[16] = {-1, -1, -1, -1, -1, -1, -1, -1, 1, 2, 4, 6, 8,
10,
13, 16};"

HTH

/Rob

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

Reply via email to