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

Edward Hervey bilboed at gmail.com
Fri Jan 7 11:46:37 CET 2011


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.

    Edward

> 
> Pierre 
> -- 
> 
> CREPIEUX Pierre RD-SIRP-LAN
> LAN/SIRP/ASF
> Tel : +33 296053490 
> Email: pierre.crepieux at orange-ftgroup.com
> R&D Lannion 2, avenue Pierre Marzin 22307 LANNION Cedex - France 
> 
> 
> Mailer ThunderBird sous YourDev Linux
> Installez simplement votre poste de travail Linux avec
> http://web2000.rd.francetelecom.fr
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to 
> best implement a security strategy that keeps consumers' information secure 
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl 
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel






More information about the gstreamer-devel mailing list