Page 1 of 1

VLCKit and HTTP Basic Authentication

Posted: 26 Apr 2016 19:30
by ssbmaccom
Hi,

customers reported to me, that some of thrm need to use basic authentication with their set top boxes. What is the best way to add this when opening media files for streaming via HTTP and maybe in the future via SMB. The App already has username and password and it works fibe using them in the NSURLSessions i have to use to gather the informations like EPG.

Of course i could use the username:password@hostname approach, but is there a more reasonable way? I do not want, that the user has to re-enter his credentials to a VLCKit provided dialog. It should simply work outof the box with credentials the app can provide. Using the --http-user etc. options when instanciating libVLC also does not look that reasonable to. A callback/delegate as with NSURLSession would be great.

SSB

Re: VLCKit and HTTP Basic Authentication

Posted: 28 Jun 2016 10:02
by Jean-Baptiste Kempf
Use VLCKit 3.0 for this.