Page 1 of 1

Congratulation for SMB/UPNP/SFTP/... browser, how the heck did you do it?

Posted: 24 Feb 2020 19:49
by ProlyX
Hello,

iam experimenting a bit on windows uwp (for using on Xbox), i need access to smb shares.
As i know, because iam using it myself on xbox, vlc does a great job on that. Just hit Browser and youre welcome to browser your network - its fantastic ;)
So I thought maybe i could find some idea's on your code on how to doing that.
But the big question is, how did you get it working like that? After reading your source code for hours iam still unable to identify the way you did it.
Yea, VLCExplorerViewModel.cs shows me the Local/External stuff... did you gain access through c# or while using libvlcpp ?
maybe anyone can give me a tip..

regards and thanks for vlc-winrt (for xbox) :)

Re: Congratulation for SMB/UPNP/SFTP/... browser, how the heck did you do it?

Posted: 25 Feb 2020 04:05
by mfkl
libvlc uses various libs for this, such as https://github.com/videolabs/libdsm, and abstracts it out in a single API so you can browse distant network shares.
vlc-winrt uses C# -> C++/CX -> C++ -> C. LibVLCSharp uses C# -> C. More info here https://mfkl.github.io/libvlc/crossplatform/xamarin/forms/2019/07/02/Crossplatform-local-network-browsing-and-media-playback.html

Re: Congratulation for SMB/UPNP/SFTP/... browser, how the heck did you do it?

Posted: 25 Feb 2020 14:10
by ProlyX
Awesome!
got it working, big thanks mfkl, you gave me exactly i was searchin for.

Great work, thank you VLC.