Linux gstreamer tcpclientsink连接被拒绝
您好,我正在尝试使用gstreamer-1.0将数据从linux box(Raspberry Pi)传输到Macbook pro 关于Raspberry Pi(Linux) 在Mac上Linux gstreamer tcpclientsink连接被拒绝,linux,macos,wifi,raspberry-pi,gstreamer,Linux,Macos,Wifi,Raspberry Pi,Gstreamer,您好,我正在尝试使用gstreamer-1.0将数据从linux box(Raspberry Pi)传输到Macbook pro 关于Raspberry Pi(Linux) 在Mac上 punits@punits-mac:rover $ gst-launch-1.0 -v tcpserversrc port=5000 ! fakesink Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstTCPServerSrc:tcpserver
punits@punits-mac:rover $ gst-launch-1.0 -v tcpserversrc port=5000 ! fakesink
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstTCPServerSrc:tcpserversrc0: current-port = 5000
Pipeline is PREROLLING ...
在raspberry pi localhost上同时使用客户端和服务器可以很好地工作。请让我知道我做错了什么。我记得在gstreamer0.10中,默认情况下,tcpserversrc只在本地主机上侦听。 我猜在gstreamer1.0中可能是相同的
尝试使用属性“host=xxx.xxx.xxx.xxx”来指定您的外部ip地址。我遇到了连接被拒绝的两个主要原因:
punits@punits-mac:rover $ gst-launch-1.0 -v tcpserversrc port=5000 ! fakesink
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstTCPServerSrc:tcpserversrc0: current-port = 5000
Pipeline is PREROLLING ...