我想流与下面的GStreamer管线音频:的Gstreamer:无法于swtich码本:rtpvorbisdepay
服务器:
gst-launch-1.0 -v audiotestsrc ! audioconvert ! vorbisenc ! rtpvorbispay ! udpsink host=127.0.0.1 port=5000
客户:
gst-launch-1.0 udpsrc port=5000 ! "application/x-rtp, media=audio, clock-rate=44100, encoding-name=VORBIS, encoding-params=1, payload=96" ! rtpvorbisdepay ! vorbisdec ! audioconvert ! autoaudiosink
我得到以下信息来自GStreamer:
警告:从element/GstPipeline:pipeline0/GstRtpVorbisDepa y:rtpvorbisdepay0:无法解码流。 额外调试信息:gstrtpvorbisdepay.c(614):gst_rtp_vorbis_depay_process():/ GstPipeline:管道0/GstRtpVorbisDepay:rtpvorbisdepay0:无法切换码本
而且我没有得到客户的任何声音。谁能帮忙?
[编辑:]
当我从服务器端复制 - 粘贴帽...它的工作原理!但是在这些大写字母中有一个看起来非常难看的配置参数(link here)。我注意到,如果我只是删除这个参数,它不再工作。此外,我在udpsrc和rtpvorbisdepay元素上使用了gst-inspect,并且没有关于此参数的任何信息。有人可以向我解释这个参数对应什么吗?有没有办法避免它?
你可以用VLC(我想你需要[SDP](玩https://developer.ridgerun.com/wiki/index.php/ Introduction_to_network_streaming_using_GStreamer)?在链接中提到参数配置..但没有解释 – nayana