<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Your buffers have no timestamp information which makes the receiver unhappy, all the buffers are being dropped. You can verify this by modifying the receiver as:</div><div class=""><br class=""></div><div class=""><div class=""><pre class="c-mrkdwn__pre" data-stringify-type="pre" style="box-sizing: inherit; margin-top: 4px; margin-bottom: 4px; padding: 8px; --saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13); overflow-wrap: break-word; font-variant-ligatures: none; line-height: 1.50001; tab-size: 4; white-space: pre-wrap; word-break: normal; background: rgba(var(--sk_foreground_min,29,28,29),0.04); border: 1px solid var(--saf-0); border-radius: 4px; counter-reset: list-0 0 list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(29, 28, 29); orphans: 2; widows: 2; text-decoration-thickness: initial; font-family: Monaco, Menlo, Consolas, "Courier New", monospace !important;">#!/bin/bash
# receiver.sh

HOST=127.0.0.1
VIDEO_RTP_PORT=1234

VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)VP8"
VIDEO_DEC="rtpvp8depay ! vp8dec"
VIDEO_SINK="videoconvert ! glimagesink qos=false sync=false"

gst-launch-1.0 \
  rtpbin name=rtpbin \
  udpsrc caps=$VIDEO_CAPS address=$HOST port=$VIDEO_RTP_PORT ! perf name=rtp \
  ! rtpbin.recv_rtp_sink_0 rtpbin. \
  ! perf name=dec ! $VIDEO_DEC \
  ! perf name=display ! $VIDEO_SINK</pre><div class=""><br class=""></div></div><div>Note the <b class="">qos=false sync=false. </b>Also I changed the autovideosink by a concrete sink (glimagesink in my system), because the autovideosink does not have the qos property exposed. </div><div><br class=""></div><div>To fix this add monotonically increasing timestamps to your buffers in the broadcaster.</div><div><br class=""><blockquote type="cite" class=""><div class="">On 4 Aug 2022, at 15:50, Daniel Koch - external via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi, there.<br class=""><br class="">I'm trying to use the appsrc element with rtpbin and udpsink to create an RTP sender using the VP8 codec (vp8enc).<br class=""><br class="">This program creates a fake video stream by switching black and white frames every 100 milliseconds. You can see the video by uncommenting the macro USE_AUTOVIDEOSINK.<br class=""><br class="">broadcaster.c:<br class=""><a href="https://pastebin.com/raw/5w2UaBgP" class="">https://pastebin.com/raw/5w2UaBgP</a><br class=""><br class="">receiver.sh (using gst-launch-1.0): <br class="">https://pastebin.com/raw/s1YG4DPa<br class=""><br class="">When I run the receiver, I only get the first frame. It doesn't blink. What am I doing wrong?<br class=""><br class="">PS: I'm using libgstreamer 1.20.3 from Ubuntu 22.04.<br class=""><br class="">Thank you,<br class="">Daniel Koch<br class=""><br class=""><br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>