Can't open LAN RTSP video stream in VLC for Unity
Summary
When I use a LAN address in the MinimalPlayback.cs script (rtsp://192.168.2.191:8554) the stream does not play.
Minimal project and steps to reproduce
- Open the MinimalPlayback demo scene from the VLC For Unity package.
- In MinimalPlayback.cs, change the address string in the Uri constructor to a LAN address such as the one above.
- Play the project.
The device at that address is a 4K 360 live-streaming IP camera.
What is the current bug behavior?
The stream doesn't start playing. In addition, when the project is stopped, the Editor freezes and has to be forced to close.
What is the expected correct behavior?
The stream starts playing.
Does it work on other platforms? Does it work with the official VLC apps?
I don't experience this issue in VLC Media Player, or with other RTSP links with proper domain names.
Relevant logs and/or screenshots
Log when attempting to connect to rtsp://192.168.2.191:8554/live
Log when attempting to connect to rtsp://192.168.2.191:8554
Environment
- OS: Windows 10 Enterprise
- Device: HP Zbook
- LibVLC version and architecture: Version packaged with VLC For Unity 0.0.9
- LibVLCSharp version: Version packaged with VLC For Unity 0.0.9
- VLC Unity plugin version: 0.0.9
- Scripting backend used: Mono
It might also be useful to know that I installed the LAV filters in order to try to get this working with a different plugin.
Possible fixes
The working URLs I tried didn't use 4K video, so that may be the issue.