问题描述
我正在尝试使用此 .sh 将 gstreamer 流式传输到 Janus:
#!/bin/sh
gst-launch-1.0 \
souphttpsrc location="URL".m3u ! \
audioconvert ! audio/x-raw,channels=1,rate=16000 ! \
opusenc bitrate=20000 ! \
rtpopuspay ! udpsink host=127.0.0.1 port=5002
但收到此错误:
Setting pipeline to PAUSED ...
Pipeline is prerollING ...
Got context from element 'souphttpsrc0': gst.soup.session=context,session=(SoupSession)NULL,force=(boolean)false;
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
streaming stopped,reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
有什么想法吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)