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

NewTek NDI PTZ1 compatibility: don't use message counter #7

Closed
vwout opened this issue Oct 22, 2022 · 0 comments
Closed

NewTek NDI PTZ1 compatibility: don't use message counter #7

vwout opened this issue Oct 22, 2022 · 0 comments

Comments

@vwout
Copy link
Owner

vwout commented Oct 22, 2022

The sequence number in Visca messages in incorrectly handled by the NewTek NDI PTZ1. This camera is only capable of handling messages with seq_nr 1, 2 or 3 and it always responds with seq_nr=1. The work around is to not use sequence numbers:

modify libvisca.lua at line 941 and change:
message.seq_nr = self.last_seq_nr
to
message.seq_nr = 0

The original issue is reported on the OBS forum:

I tried the PTZOptics Mode but with that i had no camera movement at all. I added two logs from the OBS scriptlog. The first one shows 4 scene changes with 3 successfull cam preset recalls and the last one failing. The second log shows some unfinished messages that i get when i reload my script.

The workaround to not use sequence number is also confirmed there.

vwout added a commit that referenced this issue Jan 5, 2023
@vwout vwout closed this as completed Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant