![gstreamer httplive 流媒体插件](https://linux22.com/image/1365937/gstreamer%20httplive%20%E6%B5%81%E5%AA%92%E4%BD%93%E6%8F%92%E4%BB%B6.png)
我想通过 http live 从网络摄像头流式传输视频。我发现该souphttpclientsink
插件可以做到这一点。
但是当我运行这个命令时:
gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! mpegtsmux ! souphttpclientsink location=http://127.0.0.1:8080
我收到此错误
GstPipeline:pipeline0/GstSoupHttpClientSink:souphttpclientsink0: Could not write to HTTP URI
:
gstsouphttpclientsink.c(728): gst_soup_http_client_sink_render (): /GstPipeline:pipeline0/GstSoupHttpClientSink:souphttpclientsink0:
error: 4 Cannot connect to destination (127.0.0.1)
如何解决这个问题?