Snapshot of the stream and save it on the server(raspberry pi)

hello, I hope yall are well.

I want to know if there is a way to capture a screenshot of the stream and saved it on the server-side (raspberry pi), instead of it being saved on the client side.

Best option is using RTP forwarders to relay the stream externally to an application that can decode the video and save images. I made a lengthy tutorial here.

1 Like

thank you for the reply,
RTP Forwarders is the right option. Can you please send the command you used in youtube, gstreamer to take a screenshot of the stream every 5 seconds?

let rtpForwarding =
{
request : “rtp_forward”,
room : myroom,
publisher_id : id,
secret : “adminpwd”,
host : “192.168.1.83”,
video_port:8005,
}
sfutest.send({ message: rtpForwarding});
this is my request

but I am getting a warning saying:
Deprecated ‘rtp_forwarding’ API: please start looking into a new one for the future
what does this mean?

Please refer to the documentation for the new API.

yes i have and it works