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

​VLC for Windows Store​ specific questions

This includes WinRT, Windows RT, Windows Phone, Windows Mobile and Xbox 1
ProlyX
New Cone
New Cone
Posts: 2
Joined: 24 Feb 2020 19:35

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

Postby ProlyX » 24 Feb 2020 19:49

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) :)

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

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

Postby mfkl » 25 Feb 2020 04:05

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
https://mfkl.github.io

ProlyX
New Cone
New Cone
Posts: 2
Joined: 24 Feb 2020 19:35

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

Postby ProlyX » 25 Feb 2020 14:10

Awesome!
got it working, big thanks mfkl, you gave me exactly i was searchin for.

Great work, thank you VLC.


Return to “​VLC for Windows Store​”

Who is online

Users browsing this forum: No registered users and 3 guests