Does pulsesrc work

James jam at tigger.ws
Tue Oct 12 12:07:32 UTC 2021


Hi
I have an ongoing issue with pulsesrc.

I build test-video.c from gst-rtsp-server/examples.
It has a line like this and works just fine:

  gst_rtsp_media_factory_set_launch (factory, "( "
      "videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! "
      "x264enc ! rtph264pay name=pay0 pt=96 "
      "audiotestsrc ! audio/x-raw,rate=8000 ! "
      "alawenc ! rtppcmapay name=pay1 pt=97 " ")");

I then modify the src so:

  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 " ")");

changing audiotestsrc to be pulsesrc device=0
This stutters every sec or two. The DEBUG trace shows nothing significant. Unless there is magic for pulsesrc I have to conclude that pulsesrc does not work. 
Anybody ?
James


More information about the gstreamer-devel mailing list