Commit 5836161c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

use vlc-https instead of vlc-http when using TLS

parent bb30cfed
......@@ -318,7 +318,8 @@ static int Open( vlc_object_t *p_this )
asprintf( &psz_txt, "path=%s", psz_file_name );
p_sys->p_bonjour = bonjour_start_service( (vlc_object_t *)p_access,
"_vlc-http._tcp",
strcmp( p_access->psz_access, "https" )
? "_vlc-http._tcp" : "_vlc-https._tcp",
psz_name, i_bind_port, psz_txt );
free( (void *)psz_txt );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment