josephdadams / TallyArbiter

The flexible and customizable camera tally light system
http://www.tallyarbiter.com
MIT License
286 stars 101 forks source link

[Feature Request]: Visca over IP tally light #303

Open antlear opened 2 years ago

antlear commented 2 years ago

What feature would you like to see added to TallyArbiter?

There are more and more PTZ cameras now with tally lights on which use the visca over IP tally command. Is it possible to have this as and end point? This would mean an BM ATEM or Ross Carbonite etc could send tally control to the ptz light on the camera.

github-actions[bot] commented 2 years ago

Hello there antlear 👋

Welcome to TallyArbiter!! 💖🥳

Thank you and congratulations 🎉 for opening your very first issue in this project. TallyArbiter fosters an open and welcoming environment for all our contributors.🌸 Please adhere to our Code Of Conduct.

Incase you want to claim this issue, please comment down below! We will try to get back to you as soon as we can.👀

Feel free to contact the author or for any other information, please visit www.techministry.blog. 👩‍💻 We would love to hear your interesting ideas and engage in discussions.💖

mg-1999 commented 2 years ago

Additional information:

See this file for a detailed documentation of the Sony visca protocol

josephdadams commented 2 years ago

I suppose this could be done today using the outgoing tcp or udp device action. But I like the idea of the end user not needing to know how to use commands like this since not everyone is familiar or comfortable with command strings.

mg-1999 commented 2 years ago

I see that @hrueger updated a visca library for node. Would that stable enough to use for this purpose?

josephdadams commented 2 years ago

We should be able to easily send the tally command like how companion does it:

String.fromCharCode(parseInt(cameraid)) +'\x01\x7E\x01\x0A\x00\x03\xFF'; for off

String.fromCharCode(parseInt(cameraid)) +'\x01\x7E\x01\x0A\x00\x02\xFF'; for on

without the need for the whole library. Unless we want to do more with visca than tally.

hrueger commented 2 years ago

I see that @hrueger updated a visca library for node. Would that stable enough to use for this purpose?

I just fixed a few bugs ther which would cause the lib to crash. I'm still trying to get my hands on a Visca Camera. That means, I didn't test the lib at all. I'd prefer @josephdadams's solution.

josephdadams commented 2 years ago

It would be great to support both udp and tcp, letting the user decide. Kind of like how we do the outgoing tcp. Open socket, send, close/destroy.