Skip to content

Different overlays for different stream profiles #101

Closed Answered by haichaoji123
Pedro-Leitek asked this question in VAPIX
Discussion options

You must be logged in to vote

you can control to add overlay to some resolution.

here is the control callback:
settings.select_callback=select_callback;//setup here to only display overlay on selected resolution

/**

  • Callback that can be used to select which streams to render overlays
  • to. Note that YCBCR streams are always skipped since these are used
  • for analytics.
  • @param camera The id of the camera that the stream is for.
  • @param width The width of the stream For further details see the comments
  •          for the stream_data struct.
    
  • @param height The height of the stream For further details see the comments
  •           for the stream_data struct.
    
  • @param rotation The rotation of the stream.
  • @param is_mirrored TRUE…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vivekatoffice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
VAPIX
Labels
None yet
2 participants