Results 1 to 7 of 7

Thread: SDK example not functioning properly since V2

  1. #1
    Registered User
    Join Date
    Jan 2017
    Location
    Belgium
    Posts
    15

    SDK example not functioning properly since V2

    Since V2 one of the C# examples,"managed NDI send" , only sends a frame every 10 seconds once connected locally.
    The same example did not have any problems in V1 as do the other examples

    Anyone has any idea or experienced this too ?

    Thank you

  2. #2
    Registered User
    Join Date
    Jan 2017
    Location
    Belgium
    Posts
    15
    It does run BUT

    it needs to be opened by 2 two receivers (monitors) to be triggered to run !!

  3. #3
    Registered User ZachSchuster's Avatar
    Join Date
    May 2007
    Location
    St. Paul, MN
    Posts
    783
    Are you having any issue with the managed receiver example? We can't get it to recognize that NDI feeds are present on the version 2 examples.
    Zach Schuster
    SuiteCG- Sports Scoreboard and Stat Tools
    Tricaster 855/460
    Zeplay Instant Replay
    ScoreOCR
    Sony NX5U

  4. #4
    Registered User ZachSchuster's Avatar
    Join Date
    May 2007
    Location
    St. Paul, MN
    Posts
    783
    I just heard back from Dr. Cross himself. The examples are incorrect. I think the next release will have them fixed, but you can email him at [email protected] to request a link for thenew examples.
    Zach Schuster
    SuiteCG- Sports Scoreboard and Stat Tools
    Tricaster 855/460
    Zeplay Instant Replay
    ScoreOCR
    Sony NX5U

  5. #5
    Registered User
    Join Date
    Jan 2017
    Location
    Belgium
    Posts
    15
    Are you having any issue with the managed receiver example? We can't get it to recognize that NDI feeds are present on the version 2 examples.
    I can now after I changed "IntPtr SourcesPtr = NDI.Find.NDIlib_find_get_sources(_findInstancePtr, ref NumSources, 0);" in line 125 (approx) to

    Code:
    IntPtr SourcesPtr = NDI.Find.NDIlib_find_get_current_sources(_findInstancePtr, ref NumSources);
    as NDIlib_find_get_sources is obsolete. did confuse me to initially

    "managed NDI send" still has the issue (need to open 2 viewers to get it triggered to run sending)

  6. #6
    NewTek Engineering ACross's Avatar
    Join Date
    Jul 2003
    Location
    San Antonio
    Posts
    798
    Quote Originally Posted by Doggy View Post
    I can now after I changed "IntPtr SourcesPtr = NDI.Find.NDIlib_find_get_sources(_findInstancePtr, ref NumSources, 0);" in line 125 (approx) to
    Code:
    IntPtr SourcesPtr = NDI.Find.NDIlib_find_get_current_sources(_findInstancePtr, ref NumSources);
    as NDIlib_find_get_sources is obsolete. did confuse me to initially
    "managed NDI send" still has the issue (need to open 2 viewers to get it triggered to run sending)
    We have fixed this (I think!) in the next SDK release which should occur in the next few days. If you need it before then, just email [email protected].

    We are not making the find_get_sources call obsolete, we are simply depreciating it (it will still work) and replacing it with two that should be easier to understand.
    1) Let me know when changes to the list of sources occur.
    2) Give me the current list of sources.

    This was the API call that caused 90% of all email questions, so improving it hopefully will help.

    Andrew

  7. #7
    Registered User zenvideo.co.uk's Avatar
    Join Date
    Apr 2016
    Location
    Salford, UK
    Posts
    27
    Quote Originally Posted by ACross View Post
    We are not making the find_get_sources call obsolete, we are simply depreciating it (it will still work) and replacing it with two that should be easier to understand.
    1) Let me know when changes to the list of sources occur.
    2) Give me the current list of sources.
    That definitely sounds like a better mechanism.
    Martin Kay
    ZEN Computer Services - Salford, UK

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
  •