[Asterisk-video] if2 bit stuffing in app_h324m
Sergio Garcia
sergio.garcia at fontventa.com
Mon Jul 30 04:58:08 CDT 2007
Hi Klaus,
The h324m library uses if2 frames, while in the asterisk frame is a rfc 3267 frame, which contains the rtp payload and one or more if2 frames.
So you have to extract each if2, taking out the payload header, make it be byte aligned and clean the last byte (with the stuffing bites).
I did the first coding but Francesco was the one who made it work, so probably he could explain it much better.
Best regards
Sergio
---------- Original Message ----------------------------------
From: Klaus Darilion <klaus.mailinglists at pernau.at>
Reply-To: Development discussion of video media support in Asterisk<asterisk-video at lists.digium.com>
Date: Mon, 30 Jul 2007 10:17:18 +0200
>Hi Sergio!
>
>I do not understand what for is the bit stuffing in
>create_h324m_frame(). I thought if2 is used in h324m and also in RTP and
>.mp4 files. Thus, the ast_frames are also if2 encoded - aren't they?
>
>regards
>klaus
>
>_______________________________________________
>--Bandwidth and Colocation Provided by http://www.api-digital.com--
>
>asterisk-video mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
>
More information about the asterisk-video
mailing list