mediaDiscoverer SMB not working, but works for UPnP

This forum is about all development around libVLC.
genrtcw
New Cone
New Cone
Posts: 5
Joined: 29 Jun 2022 18:20

mediaDiscoverer SMB not working, but works for UPnP

Postby genrtcw » 27 Jan 2023 23:46

Dear developers,

Using libVLC with the MediaDiscoverer, I can find UPnP server and it just works. However, when I change to SMB, it does not find anything. Calling Start() on it returns already false for SMB. For UPnP it returns true. My test is in Unity Windows and Android. Besides "smb" I also tried the strings "samba" and "smb2" with no difference.

Code: Select all

Core.Initialize(Application.dataPath); libVLC = new LibVLC(enableDebugLogs: true); // mediaDiscoverer = new MediaDiscoverer(libVLC, "upnp"); // this would work mediaDiscoverer = new MediaDiscoverer(libVLC, "smb"); bool success = mediaDiscoverer.Start(); // success returns false on "smb", but true for "upnp" // mediaDiscoverer.IsRunning is false as well for "smb"

Please help! Thanks,
Daniel

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests