Results 1 to 3 of 3

Thread: NDI Send pause video on no connections

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2017
    Location
    NY
    Posts
    37

    NDI Send pause video on no connections

    Hello,

    I have application that send video via NDI. To preserve resources it pause sending video frames to NDI when no client connections. Once any is client connecting to NDI stream, application resume sending video frames and everything works fine except one small issue. NDI library store last video frame before pause and on connect it send this old frame to client and then new frames...but old and new frames can differ significant and on client side it looks not good.
    Is there any possibility to tell NDI library to remove old frame from internal buffer and on new connection just wait new frames without sending old frame from buffer?

  2. #2
    Registered User roddyp's Avatar
    Join Date
    Sep 2017
    Location
    UK
    Posts
    42
    You could try sending one black frame to NDI when you detect there's no active clients. The black frame will still get sent when a new client connects, but it's probably less intrusive than showing a random frame.

  3. #3
    Registered User
    Join Date
    Oct 2017
    Location
    NY
    Posts
    37
    I thought about it too but hoped that may be another way. Thanks

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
  •