kakone / VLC.MediaElement

MediaElement clone powered by VLC
GNU Lesser General Public License v2.1
68 stars 33 forks source link

Authentication for RTSP is broken #45

Closed abpostelnicu closed 6 years ago

abpostelnicu commented 7 years ago

Hello,

I'm trying to use the component in order to play an rtsp strea that requires authentication. The problem is I get this error wen debuting the app:

gist link

I put the output in a pastebin I'm using the latest version of the library and my target platform is x64. Any hint on this matter is well appreciated.

kakone commented 7 years ago

Did you try by enabling privateNetworkClientServer capability ?

abpostelnicu commented 7 years ago

On x64 builds this still doesn't work, but on ARM it works.

kakone commented 7 years ago

There is a warning in your log : Password in a URI is DEPRECATED Perhaps, you should try to use the ShowLoginDialog event (this event should be called if credentials are needed). You can subscribe to this event, and set the username and password in the DialogResult property of the event args :
e.DialogResult = new LoginDialogResult() { Username = username, Password = password };