Download

RTSP stream only shows black texture

I have followed the tutorial here: https://docs.unrealengine.com/en-US/Engine/MediaFramework/HowTo/StreamMediaSource/index.html to play a video stream from within Unreal Engine. It works fine with the sample video, but I’m trying to stream from a locally running RTSP server. I have verified that the stream is working in VLC player, but in Unreal Engine it only shows up as black. The log doesn’t show any errors.
Codec: H264 - MPEG-4 AVC (part 10) (h264)

Any help is appreciated!

I got it to work using VlcMedia (GitHub - ue4plugins/VlcMedia: Media Framework plug-in using the Video LAN Codec (libvlc).) instead of WmfMedia. If anyone knows how to get it to work using WmfMedia however, I’d highly appreciate it still.

Looking for the same answer. I can not use VLC since I need to use the newest version of Unreal 4.25

Has anyone managed to get RTMP to work in Unreal without the outdated VLC plugin?

I also am unable to use the VLC plugin, as I am using 4.25 and need the stream to play on Android as well as Windows. I’m streaming from OBS to my Wowza server through RTSP, and am able to confirm the stream is working consistently. When I try to display the stream in Unreal however, it works about 20% of the time. The other 80% of the time I either get a message saying “The byte stream type of the given URL is unsupported.” or the stream just shows black in game. The stream seems to randomly be “supported” and start working after a few engine/computer restarts (with no configuration changes). Here is what my URL looks like: rtsp://192.168.1.127:1935/orange/orange. Can anyone give some advice on why Unreal is the only thing that seems to be giving inconsistent results in this case? In the media framework technical reference, it says RTSP streams are supported.