Does pulsesrc work

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Tue Oct 12 14:41:21 UTC 2021


On Tue, Oct 12, 2021 at 7:15 PM James via gstreamer-devel
<gstreamer-devel at lists.freedesktop.org> wrote:
>   gst_rtsp_media_factory_set_launch (factory, "( "
>       "videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! "
>       "x264enc ! rtph264pay name=pay0 pt=96 "
>       "pulsesrc device=0 ! audio/x-raw,rate=8000  ! "
>       "alawenc ! rtppcmapay name=pay1 pt=97 " ")");
>

pulsesrc may claim to support 8000Hz and not actually support it
correctly. You can try something like:

pulsesrc device=0 ! audio/x-raw,rate=48000 ! audioresample !
audio/x-raw,rate=8000 ! allowance

Cheers,
Nirbheek


More information about the gstreamer-devel mailing list