如何使用RTSP从OBS流式传输到gstreamer?

时间:2019-10-31 09:21:43

标签: gstreamer rtsp

我正在建立一个需要从OBS接收流的gstreamer管道。

GstVersion 1.14.5

我已尝试从gst-rtsp-server中的示例进行测试记录:

./test-record "( decodebin name=depay0 ! autovideosink )" -p 1500

stream ready at rtsp://127.0.0.1:1500/test

当我尝试从客户端流式播放

gst-launch-1.0 videotestsrc ! x264enc ! rtspclientsink location=rtsp://ip:1500/test

有效。但是,当我尝试从obs流到rtsp:// ip:1500 / test时,OBS会显示无法连接到服务器消息。

OBS Logs
12:12:47.280: RTMP_Connect1, handshake failed.
12:12:47.280: [rtmp stream: 'adv_stream'] Connection to rtsp://35.184.104.213:1500/test failed: -2
12:12:47.280: ==== Streaming Stop ================================================

0 个答案:

没有答案
相关问题