No way to ignore server certificate validation for https mrl
In google Exoplayer we can do this by setting .net Httpclient certificate callback to return true always, the same Httpclient can be injected to be used by the player.
I am using Xamarin Forms and VideoView Mediaplayer, cannot find any way to ignore server certificate validation, it silently stops playing the media giving the logs:
11-06 12:09:28.720: E/VLC(4883): [9683db90/1339] libvlc tls client: Certificate verification failure: The certificate is NOT trusted. The certificate issuer is unknown.
11-06 12:09:28.720: E/VLC(4883): [9683db90/1339] libvlc tls client: TLS session handshake error
11-06 12:09:28.720: E/VLC(4883): [9683db90/1339] libvlc tls client: connection error: No such file or directory
11-06 12:09:28.721: E/VLC(4883): [9750eb50/1339] libvlc stream: HTTP connection failure
11-06 12:09:28.727: E/VLC(4883): [97b6ba30/1339] libvlc input: Your input can't be opened
11-06 12:09:28.727: E/VLC(4883): [97b6ba30/1339] libvlc input: VLC is unable to open the MRL 'https://media-url'. Check the log for details.