[h323plus] H323-SIP Gateway with H264 Support

Simon Horne s.horne at packetizer.com
Tue Mar 13 15:09:44 EDT 2012


Diego

 

H.264 is a video plugin in the plugin/video directory. You will need X264
and FFMPEG.  For Ubuntu they are libx264-dev  libavcodec-dev and
libavutil-dev.

 

You build the plugin .so and the helper (in the gpl subdirectory) and place
them both in the same directory as you app. The application will load them
at startup and automatically add the capability to the capabilityset etc

 

If you don't want to use the plugin for RTP then have a look at the
H323_ExternalRTPChannel. This will bypass the RTP handling in the codec to
whatever you want.

http://www.voxgratia.org/docs/external_rtp.html

(its from 2004 but still current)

 

Simon

 

 

From: h323plus-bounces at lists.packetizer.com
[mailto:h323plus-bounces at lists.packetizer.com] On Behalf Of Diego Carvalho
Sent: 14 March 2012 03:05
To: h323plus at lists.packetizer.com
Subject: [h323plus] H323-SIP Gateway with H264 Support

 

Hi all,
I'm working on a h323-sip gateway with video (H264) support and I'm facing
some problems. I'm new with H323plus and with h323 protocol itself (I'm
learning as I go) so excuse me if I say something stupid.
First of all, I believe that the stack can be used to build a gateway but it
seems that it's more focused on terminals. Am I right? So is it possible or
not to build a gateway using it?
Second, there is no native support for H264. The documentation shows the
class hierarchy. For audio we have, for instance, H323Cabability ->
H323RealTimeCapability -> H323AudioCapability -> H323_G711Cabability but we
don't have H323Cabability -> H323RealTimeCapability -> H323VideoCapability
-> H323_H264Cabability. I tried to create this one, extending from
H323Cabability -> H323RealTimeCapability -> H323VideoCapability ->
H323GenericVideoCabability and then I discovered that I would need to
override a function called CreateCodec to return a codec that handles the
video. But I don't want to handle the RTP media. I just want to put H264 in
the terminal capability set and establish a connection in a way that the
H323 and SIP terminals can exchange the media directly. I've heard about a
H264 plugin but it seems that it is for handling the media, so I don't know
if it fits my purpose. How can I achieve this? Is there any plan to support
H264 natively on H323plus? Also I need to get the remote RTP port. The only
way I found to do this is trough H323Connection::OnStartLocicalChannel but
this is called after a channel to handle the data is created and again, I
don't want to handle the RTP data. I appreciate any help. Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20120314/25289750/attachment.htm>


More information about the h323plus mailing list