Hi all,<div><br></div><div>i currently try to implement a TCP streaming relay server using GStreamer pipeline.</div><div><br></div><div>The goal is the following:</div><div>- Server listen a the TCP/1234 port for incoming video streaming</div>
<div>- Client 1 send a video streaming to Server</div><div>- Server relay the video streaming to a TCP server and listen from incoming request on the TCP/2345 port</div><div>- Client 2 connect to the server and receive the video streaming</div>
<div>- Client 3 connect to the server and receive the video streaming</div><div>...</div><div><br></div><div>Here are the pipelines:</div><div><br></div><div>Client 1# gst-launch -tv  videotestsrc ! queue ! videoscale method=1 ! video/x-raw-yuv,width=352,height=288 ! ffmpegcolorspace ! queue ! theoraenc ! oggmux ! tcpclientsink host=192.168.29.65 port=1234 sync=false async=false</div>
<div><br></div><div>Server# gst-launch -tv tcpserversrc host=192.168.29.65 port=1234 ! queue ! tcpserversink host=192.168.29.65 port=2345 sync=false async=false</div><div><br></div><div>Client 2# gst-launch -tv tcpclientsrc host=192.168.29.65 port=2345 ! decodebin ! autovideosink</div>
<div><br></div><div>Client 3# gst-launch -tv tcpclientsrc host=192.168.29.65 port=2345 ! decodebin ! autovideosink</div><div><br></div><div>I first run the Server pipeline:</div><div><div>===</div><div>Définition du pipeline à PAUSED...</div>
<div>Le pipeline a terminé la phase PREROLL...</div><div>Passage du pipeline à la phase PLAYING...</div><div>New clock: GstSystemClock</div></div><div>===</div><div><br></div><div>Then i run the Client 1 pipeline... Unfortunatly, the Server crash with the following error:</div>
<div>===</div><div><div>ERREUR : de l&#39;élément /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0 : Internal GStreamer error: negotiation problem.  </div><div>Please file a bug at <a href="http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer">http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</a>.</div>
<div>Information de débogage supplémentaire :</div><div>gstmultifdsink.c(2650): gst_multi_fd_sink_render (): /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0:</div><div>Received first buffer without caps set</div><div>
Execution ended after 27105365842 ns.</div><div>Définition du pipeline à PAUSED...</div><div>Définition du pipeline à READY (prêt)...</div><div>Définition du pipeline à NULL...</div><div>Libération du pipeline...</div></div>
<div>===</div><div><br></div><div>When i replace the Server pipeline with the following:</div><div><br></div><div>Server# gst-launch -tv tcpserversrc host=192.168.29.65 port=1234 ! decodebin ! autovideosink</div><div><br>
</div><div>The server receive the video streaming and display the video test on the screen...</div><div><br></div><div>Any idea to solve this issue ? I think this is a caps problem but i do to understand where can i set it on my server pipeline ?</div>
<div><br></div><div>Thx in advance for your help</div><div><br></div><div>Nicolas</div><div><br clear="all">----<br>Pour la plupart des hommes, se corriger consiste à changer de défauts.<br>    -+- Voltaire -+-<br>----<br>

</div>