EVOSTREAMMS RTSP CONNECTION ERROR
Hello,
I’m trying to send a video using the gstreamer pipeline to evostreams in localhost in order to stream towards twitch.
At the beginning, the stream connects well to evostreamms and the video appears in twitch. however, after 5 seconds, the stream stops and I have a gstreamer warning message : The server closed the connection.
WARNING: from element /GstPipeline:pipeline0/GstRTSPClientSink:r: Could not read from resource.
Additional debug info:
gstrtspclientsink.c(2250): gst_rtsp_client_sink_loop_rx (): /GstPipeline:pipeline0/GstRTSPClientSink:r: The server closed the connection.
the logs of evostreamms shows:
evostreamms [4482]: # 033 [22; 36m / thelib / src / application / baseclientapplication.cpp: 428 Stream INP (282) with name `5d9f40c2be11386dd3970108` from protocol RTSP (9432) unregistered from origin application` evostreamms`
evostreamms [4482]: # 033 [01; 37m / thelib / include / netio / epoll / tcpconnector.h: 72 *** CONNECT ERROR: Unable to connect to: 127.0.0.1:3001#033[22;37m
The pipeline I use is:
gst-launch-1.0 rtspclientsink stream-name=5d9f40c2be11386dd3970108 location=rtsp://127.0.0.1:5544 async-handling=true name=r videotestsrc pattern=snow ! x264enc ! r. audiotestsrc is-live=true ! audioconvert ! audioresample ! audio/x-raw,rate=48000 ! voaacenc bitrate=96000 ! r.
PS: Using the ffmpeg pipeline, I have no connection problem with evostreamms : for exemple :
ffmpeg -f rawvideo -pixel_format bgra -video_size 1280*720 -listen 1 -i unix:/tmp/ux_socket -f alsa -ac 1 -c:v libx264 -crf 23 -maxrate 2500k -bufsize 5000k -pix_fmt yuv444p -preset ultrafast -f rtsp -metadata title=5d9f40c2be11386dd3970108 -rtsp_transport tcp rtsp://127.0.0.1:5544 -loglevel debug
What do you think?
Is there anyone who would have a gstreamer-based functional pipeline for pusher an AUDIO + VIDEO muxed stream using the rtspclientsink module.
Thank you
cordially