<div dir="ltr">Hi Guennadi,<div><br></div><div>In such a case, you do not need a video decoder on the RPi side. </div><div>What is your receiving side? If it is a browser, please, ensure that the required H264 profile is supported on the receiving side.</div><div>(profile you can check in SDP you've got from RPI). This can cause video freezing or absence at all.</div><div><br></div><div>To receive just audio at RPi, you need to comment out </div><div>handle_media_stream (pad, pipe, "videoconvert", "autovideosink"); at line 167 of sendrecv/gst/webrtc-sendrecv.c.<br></div><div><br></div><div>Then, at line 383 of the same file, you need to change:</div><div>"videotestsrc is-live=true pattern=ball <br></div><div>to your:</div><div>"raspivid -t 0 -h 480 -w 640 -fps 25 -hf -b 2000000<br></div><div>(same change for your audio stream)</div><div><br></div><div>Leave everything as is.</div><div><br></div><div>Best regards,</div><div>Anton.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 10, 2020 at 2:26 PM Guennadi Liakhovetski <<a href="mailto:g.liakhovetski@gmx.de" target="_blank">g.liakhovetski@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Anton,<br>
<br>
On Sat, 10 Oct 2020, Anton Pryima wrote:<br>
<br>
> Hello Guennadi,<br>
><br>
> >From your attachment, it is not clear what are you planning to achieve. Is<br>
> RPi the 'send only' side, or you wanna get a stream from the browser at it?<br>
> The first log said that you have the wrong SDP (empty one). The second one<br>
> has errors in the decoder (but it is not clear why you need a decoder at<br>
> the RPi side.).<br>
><br>
> Can you describe, what result are you expecting?<br>
<br>
In your previous email you asked me to verify whether and how well<br>
unmodified webrtc examples run on my RPi to check whether all plugins are<br>
available etc. So, my previous email contained exactly that - results of<br>
running two unmodified (well, the sources are modified, but I ran them in<br>
case of sendrecv in the original mode, in case of sendonly modified for<br>
videotestsrc) webrtc examples. That means, all the plugins are available,<br>
and the result is successful, even if I'm getting errors and the RPi<br>
reboots sporadically...<br>
<br>
The end-goal would be a "telepresence" type of a device: the RPi should<br>
send video and audio and should be able to receive and play back audio.<br>
<br>
Thanks<br>
Guennadi<br>
<br>
> Best regards,<br>
> Anton.<br>
><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>