Special stream protocol Support
Summary
I want to play rtsp link which only support RTP over RTSP(TCP), just like this pic:
And i want to make this link work on unity, and i tried some versions of vlc-unity, and non of them can work.
BUT:
I try the vlc-unity version 0.0.1(i guess it's 0.0.1,cause i can't recognize by the file wthout unitypackage),once i change the Windows Desktop software "VLC media player" setting to default(just like the pic):
The link won't play on unity; Once i change the setting to RTP over RTSP(TCP), and it work. Now i confuse: Why the unity-vlc could effected by the Windows Desktop software setting?
And i continue to test other version(0.0.2/0.1.6/0.1.7), non of them could work even setting the to RTP over RTSP(TCP). Seems like this kind of stream protocol could only work on version 0.0.1.
I want to play the link which only support RTP over RTSP(TCP) normally, How should i do now? Thanks!
Minimal project and steps to reproduce
What is the current bug behavior?
What is the expected correct behavior?
Does it work on other plaforms? Does it work with the official VLC apps?
Relevant logs and/or screenshots
Environment
- OS: Windows10 DESKTOP/Windows11 DESKTOP
- Version UnityVersion2020.3.2
- Device: Windows10 DESKTOP/Windows11 DESKTOP
- LibVLC version and architecture
- LibVLCSharp version
- VLC Unity plugin version 0.0.1/0.0.2/0.1.6/0.1.7
- Scripting backend used Mono
Possible fixes
I tried add like :
libvlc_media_add_option(m media,":rtsp-tcp")
but didn't work