Displaying RTP video stream in QML using ffmpeg backend in Qt 6.5
Unsolved
General and Desktop
-
I can't figure out how to display an RTP video stream in QML using the ffmpeg backend in Qt 6.5
I can display the stream just fine using
ffplay -protocol_whitelist file,udp,rtp Camera.sdp
from the command line, using the following for Camera.sdp:
c=IN IP4 239.255.132.75 m=video 5098 RTP/AVP 96 a=rtpmap:96 H264/90000
I tried using either an embedded SDP file using
qrc:/
orrtp://239.255.132.75:5098
for the source but neither seems to work (the latter is probably not surprising sinceffplay rtp://239.255.132.75:5098
doesn't work either).How would I get this to work - we're currently still stuck on Qt 5.15 using the gstreamer backend on both Windows and Linux in order to be able to show the stream but we would really like to migrate to Qt 6…