Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about AVProLiveCamera API #36

Closed
fenneishi opened this issue Aug 16, 2021 · 4 comments
Closed

Question about AVProLiveCamera API #36

fenneishi opened this issue Aug 16, 2021 · 4 comments
Labels
question Further information is requested stale Stale

Comments

@fenneishi
Copy link

hi,
What is “videoInputIndex” and "_preferPreviewPin" use for?

​AVProLiveCameraPlugin.StartDevice(_deviceIndex, internalModeIndex, modeFrameRateIndex, videoInputIndex, _preferPreviewPin)

 Do you have the doc of API?
 We have so many question about the demo and the API In AVProLiveCamera.
@stale
Copy link

stale bot commented Aug 30, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale label Aug 30, 2021
@kahnivore kahnivore added question Further information is requested and removed stale Stale labels Aug 31, 2021
@kahnivore
Copy link

Hi @fenneishi

We don't actually have an API reference - the demo scenes were intended to serve that purpose. But agree it is a good idea to make one - I've logged this as an enhancement that we can attend to in the future #37.

As for your questions about videoInputIndex and _preferPreviewPin:

The videoInputIndex is for certain TV capture cards that have various inputs (such as HDMI, composite input, etc). The index is then used to select which input. In most cases, it's not something you'd need to worry about, and can leave set to the default of -1.

_preferPreviewPin is an advanced feature, which again, you could most likely ignore and leave set to the default. It's a technicality of the DirectShow API, which basically creates two pins on the node of the created input - a preview pin, and a render pin. In some cases, with certain devices, these pins behave differently, so some users might find this option useful.

Let us know if you have further questions.

@stale
Copy link

stale bot commented Sep 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale label Sep 16, 2021
@stale
Copy link

stale bot commented Sep 24, 2021

This issue has been automatically closed because it has not had recent activity. If you wish to continue this issue, then please create a new issue as we do not monitor closed issues.

@stale stale bot closed this as completed Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale Stale
Projects
None yet
Development

No branches or pull requests

2 participants