What are the input parameters on the server side to improve the received video quality. <br><span id="result_box" class="" lang="en"><span class="hps">I think it&#39;s</span> <span class="hps">necessary to change</span> <span class="hps">the codecs&#39; configuration parameters</span><span class="hps"></span><span class="">.</span></span><br>
<br>Also i need to change the client to store the received (rtp/udp) videos.<br>
<br>Have you got any suggestion?<br><br>Thanks in advance, <br><br>Diego Silva.<br><br clear="all">#--Server--#<br>#!/bin/bash<br><br>DEST=127.0.0.1<br><br>gst-launch -v gstrtpbin name=rtpbin filesrc location=filesrc location=sample-480p.mp4 ! decodebin name=dec dec. ! queue ! x264enc tune=zerolatency byte-stream=true ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 host=$DEST ts-offset=0 name=vrtpsink rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=$DEST sync=false async=false name=vrtcpsink udpsrc port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_0 dec. ! queue ! audioresample ! audioconvert ! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 host=$DEST ts-offset=0 name=artpsink rtpbin.send_rtcp_src_1 ! udpsink port=5003 host=$DEST sync=false async=false name=artcpsink udpsrc port=5007 name=artpsrc ! rtpbin.recv_rtcp_sink_1<br>
<br><br>#--Client--#<br>#!/bin/bash<br>DEST=127.0.0.1<br><br>gst-launch -v gstrtpbin name=rtpbin latency=0 udpsrc caps=&quot;application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264&quot; port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! decodebin ! filesink location=filesink location=received.yuv udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=$DEST sync=false async=false udpsrc caps=&quot;application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA&quot; port=5002 ! rtpbin.recv_rtp_sink_1 rtpbin. ! rtppcmadepay ! decodebin ! audioconvert ! audioresample ! alsasink udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 rtpbin.send_rtcp_src_1 ! udpsink port=5007 host=$DEST sync=false async=false<br>
<br><br>