Results 1 to 8 of 8

Thread: source name

  1. #1
    Registered User
    Join Date
    Jun 2018
    Location
    NYC
    Posts
    15

    source name

    I believe the only way to set a source name is in the Sender constructor, like this:

    Code:
    Sender sender = new Sender("My Source Name");
    Is it possible to modify the sender name afterwards?
    If not, is this a possible future enhancement to the SDK?

  2. #2
    I haven't been in-front of my code for months, but I'm not sure if you can set it to be named from something like a combo box or text box.
    Code:
    Sender sender = new Sender(myTxtBoxName.Text);
    This might require to start and stop the sender, but it could work.
    Last edited by jperbicella; 04-05-2019 at 06:35 AM. Reason: added clarification
    John Erbicella
    Experienced in TriCaster, OBS, and various streaming solutions
    Web: http://www.jperbicella.com
    Twitter: @JPErbicella
    YouTube: https://www.youtube.com/jperbicella

  3. #3
    Registered User
    Join Date
    Jun 2018
    Location
    NYC
    Posts
    15
    John,
    Yes, that works but it requires re-initializing the Sender. I would like to set the name AFTER the Sender initializes.

  4. #4
    Registered User
    Join Date
    Jun 2018
    Location
    NYC
    Posts
    15
    Bumping up in case someone from NewTek can respond.

  5. #5
    Registered User roddyp's Avatar
    Join Date
    Sep 2017
    Location
    UK
    Posts
    36
    Quote Originally Posted by jgeduldig View Post
    Bumping up in case someone from NewTek can respond.
    Not from NewTek, but I'm curious what you're trying to to achieve here.

    The name given when you create a sender is how receivers locate (and select) your source. If you change the name, what do you want receivers using the old name to do?

    Depending on what you're after, either the connection metadata functions like NDIlib_send_add_connection_metadata or the NDI-ROUTING functions (which allow you to bind an existing source to a virtual output) might be relevant.

  6. #6
    Registered User
    Join Date
    Jun 2018
    Location
    NYC
    Posts
    15
    That is a good point about receivers of the old name.

    I am streaming web pages over NDI, and users want to see the web page in the source name. However, the web page will change after the connection is established.

  7. #7
    The majority of solicitous out there use a set name similar to scan converter - maybe "My PC-Browser" "My PC-Microsoft Word" etc. but none use the name for the reason listed below. It may be possible to use the metadata (mentioned above) to display a line of text on the receiver, and be able to disable this for record or broadcast (assuming this is the end coal). To carry page name as the sender name would otherwise require one sender per page (I think).
    John Erbicella
    Experienced in TriCaster, OBS, and various streaming solutions
    Web: http://www.jperbicella.com
    Twitter: @JPErbicella
    YouTube: https://www.youtube.com/jperbicella

  8. #8
    Registered User
    Join Date
    Jun 2018
    Location
    NYC
    Posts
    15
    Okay - this all makes good sense. Thank you!

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
  •