Qt 6.11 is out! See what's new in the release
blog
How to force TCP transport layer when using QMediaPlayer to open an RTSP link (ffmpeg backend)
-
I am using QMediaPlayer to open an RTSP link. I use PyQt6 version 6.5.2
player = QMediaPlayer() player.setSource(QUrl(rtsp_link)) player.play()But that RTSP link can only be opened using TCP transport protocol and the previous code will hang up
I tried to open that RTSP link using ffplay
This hang
ffplay rtsp_linkThis work
ffplay -rtsp_transport tcp rtsp_linkHow to tell ffmpeg backend to use TCP to open that link?
-
Hi and welcome to devnet,
AFAIK, it's not possible currently.
You might want to check the bug report system to see if there's something related there and if not open a feature request.