bonjour: port numbers and webroot are not fixed
This commit is contained in:
parent
8daf19d70e
commit
64ecedb0e9
1 changed files with 5 additions and 3 deletions
|
@ -104,12 +104,14 @@ void
|
|||
bonjour_init(void)
|
||||
{
|
||||
txt_rec_t txt_rec_http[] = {
|
||||
{ "path", "/" },
|
||||
{ "path", tvheadend_webroot },
|
||||
{ .key = NULL }
|
||||
};
|
||||
|
||||
bonjour_start_service(&svc_http, "_http._tcp", 9981, txt_rec_http);
|
||||
bonjour_start_service(&svc_htsp, "_htsp._tcp", 9982, NULL);
|
||||
bonjour_start_service(&svc_http, "_http._tcp", tvheadend_webui_port,
|
||||
txt_rec_http);
|
||||
|
||||
bonjour_start_service(&svc_htsp, "_htsp._tcp", tvheadend_htsp_port, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue