Windows and iOS ask for access to local network when connecting to RTSP streams
Summary
This is more of a question than an issue or a bug.
I would like to know why VLC needs to access the local network devices when connecting to an RTSP stream?
This happens even when we are not calling any local URLs on both Windows and iOS. Is there a reason for that?
Is it something that the plugin can control?
It does work when we allow the connection.
However, knowing the reason might help us give an explanation to our customers as to why they are seeing this popup that is telling them that our app is trying to access devices on their local network.
So, we would really appreciate it if we could know the reason why this happens.
Thank you.
Minimal project and steps to reproduce
- Add a VLC player in the scene connected to an RTSP stream.
- Create a build on Windows or iOS
- Run the build
Edit: These are the exact steps I followed:
- Create a new project.
- Import
vlc-unity-ios-0.2.1.unitypackage
with just Windows and iOS plugin files. - Open
VLCMinimalPlayback
Scene. - Replace
"https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_stereo.avi"
with"rtsp://rtspstream:a264b2fe254c4a72a240b01031e23166@zephyr.rtsp.stream/pattern"
in thePlayPause()
method. - Add the
VLCMinimalPlayback
scene to build order. - Create a Windows and iOS build
- Run the build on an Windows and iOS devices. (I get the popup as soon as I open the app)
Relevant logs and/or screenshots
Environment
- OS: iPadOS and Windows 11
- Version iPadOS 17.2 and Windows 11 Pro 23H2
- LibVLC version and architecture 4.0.0-dev-24970-ga03de829e1
- LibVLCSharp version 4.0.0
- VLC Unity plugin version 0.2.0
- XCode Version: 15.0.0