[gst-devel] sending audio/video on RTP with C API

Brian Gitonga Marete marete at toshnix.com
Wed Jan 12 15:09:34 CET 2011


On Fri, Jan 7, 2011 at 1:46 PM, Edward Hervey <bilboed at gmail.com> wrote:
> On Fri, 2011-01-07 at 11:36 +0100, pierre.crepieux at orange-ftgroup.com
> wrote:
>> Hi,
>>
>> I'm trying to write a simple C program that sends webcam/microphone
>> streams on rtp with gstrtpbin.
>> I gave a look at the provided server-alsasrc-PCMA.c test program and
>> mimics it to add h264 stream to the rtpbin (just like
>> server-v4l2-H264-alsasrc-PCMA.sh does).
>> Sadly, using VLC to receive the streams, give me a fixed image and a
>> pretty bad sound (delay, sometime stop/restart,...).
>> Are there any tricks to be aware of for doing this translation of
>> gst-launch pipe definition to C code ? Does gstrtpbin require subtle
>> manipulations (that gst-launch would do behind the scene ... ??? ) to
>> operate with 2 rtp stream ?
>
>  You might want to use gst-rtsp-server instead. It does all the magic
> for you.
>

By this do you mean the transfer of SDP data or something more?

Thanks.

BGM.
-- 
Brian Gitonga Marete
Toshnix Systems
Tel: +254722151590




More information about the gstreamer-devel mailing list