Results 1 to 6 of 6

Thread: Problem with IP Discovery on Linux SDK

  1. #1
    Registered User
    Join Date
    May 2018
    Location
    Ilmenau
    Posts
    3

    Problem with IP Discovery on Linux SDK

    Hi

    I've tested the Linux SDK a little bit and there is something that I didn't get to work.
    Normally the source discovery works with mDNS, but as I see in the API
    doku I can pass a IP Address to the searching process to ask.
    So I add one line to the NDILIB_Find example:
    NDI_find_create_desc.p_extra_ips =
    When I connect with netcat to port 5960 of a source I got an xml with
    source infos.
    I tried to debug with strace -re connect and I only see a connect to
    /var/run/dbus/system_bus_socket of the find process.

    Do you have any ideas what could be the Problem?

  2. #2
    Registered User
    Join Date
    Sep 2017
    Location
    London
    Posts
    6
    Hi, for the automatic discovery to work I found I had to make sure the Avahi service/daemon is running and also disable the Linux firewall. Have not really tried the "extra_ips" method, though.

  3. #3
    Registered User
    Join Date
    Aug 2015
    Location
    london
    Posts
    200
    Quote Originally Posted by j-licht View Post
    Hi

    I've tested the Linux SDK a little bit and there is something that I didn't get to work.
    Normally the source discovery works with mDNS, but as I see in the API
    doku I can pass a IP Address to the searching process to ask.
    So I add one line to the NDILIB_Find example:
    NDI_find_create_desc.p_extra_ips =
    When I connect with netcat to port 5960 of a source I got an xml with
    source infos.
    I tried to debug with strace -re connect and I only see a connect to
    /var/run/dbus/system_bus_socket of the find process.

    Do you have any ideas what could be the Problem?
    extra_ips is not currently implemented on Mac and Linux.

  4. #4
    Registered User
    Join Date
    May 2018
    Location
    Ilmenau
    Posts
    3
    Hi

    I've got an email that there is the new version 3.5.
    I teseted it with this version and it looks like it works.
    The server only sends a response on port 5960 if the avahi daemon is running.

  5. #5
    Registered User
    Join Date
    Aug 2015
    Location
    london
    Posts
    200
    Quote Originally Posted by j-licht View Post
    Hi

    I've got an email that there is the new version 3.5.
    I teseted it with this version and it looks like it works.
    The server only sends a response on port 5960 if the avahi daemon is running.
    ** Did you test whether extra_ips now works on Linux ?

    The 5960 service should be hosted by whichever NDI source was launched first (and is still alive). If that source closes, another current sender should immediately take over. I dont think it has *anything* to do with Avahi at all (thats the whole point of it).

  6. #6
    Registered User
    Join Date
    May 2018
    Location
    Ilmenau
    Posts
    3
    Quote Originally Posted by livepad View Post
    ** Did you test whether extra_ips now works on Linux ?

    The 5960 service should be hosted by whichever NDI source was launched first (and is still alive). If that source closes, another current sender should immediately take over. I dont think it has *anything* to do with Avahi at all (thats the whole point of it).
    Yes I tested on a linux.

    When the avahi doesn't run, I get no response when connect to the port with nc.
    I play a video with ffmpeg and used the NDIlib_Find example to test the extra_ip.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •