[Asterisk-video] h324m/AMR update
Klaus Darilion
klaus.mailinglists at pernau.at
Mon Sep 3 08:00:36 CDT 2007
Hi!
FYI: I have h324m_gw bridged to a video call (eyebeam) and AMR<->G711 is
working fine in both directions and video from eyebeam to h324m (nokia
6630) is working too....still working on video from h324 to eyebeam.
patch for codec_amr.c:
pack_bits((unsigned char *)pvt->outbuf, 0, tmp->pheader, pbits);
pack_bits((unsigned char *)pvt->outbuf, pbits, tmp->speech_bits,
sbits);
npad = 8 - ((sbits + pbits) % 8); /* Number of padding bits */
+ if (npad == 8) {
+ npad = 0;
+ }
if (octet_aligned && npad != 0) {
regards
klaus
More information about the asterisk-video
mailing list