Draft
Implement BlackMagic ATEM integration with real-time preview/program monitoring#42
Conversation
Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com>
Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com>
Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement BlackMagic ATEM integration
Implement BlackMagic ATEM integration with real-time preview/program monitoring
Oct 5, 2025
Keboo
reviewed
Oct 5, 2025
| <PackageVersion Include="Moq.AutoMock" Version="3.5.0" /> | ||
| <PackageVersion Include="System.Drawing.Common" Version="9.0.9" /> | ||
| <PackageVersion Include="Velopack" Version="0.0.1362-gfa48e3c" /> | ||
| <PackageVersion Include="log4net" Version="3.0.1" /> |
Contributor
Author
There was a problem hiding this comment.
Removed log4net package reference from both Directory.Packages.props and HueCue.csproj. The package was not being used in the code. (commit 6eb8d2c)
Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements integration with BlackMagic ATEM video switchers, enabling real-time monitoring of Preview and Program inputs directly from HueCue's status bar.
Changes
Core ATEM Connection Service
AtemConnection.cs: Complete UDP-based ATEM protocol implementationConnected,Disconnected,PreviewInputChanged, andProgramInputChangedeventsViewModel Integration
MainWindowViewModel:AtemPreviewInput- Current preview input nameAtemProgramInput- Current program input nameAtemConnected- Connection statusConnectToAtemCommandfor toggling ATEM connectionApplication.Current.Dispatcher.Invoketo marshal updates from background UDP thread to UI threadDispose()methodUI Updates
Testing
AtemConnectionTests.cswith unit tests for connection initialization, disposal, and cleanupMainWindowViewModelTests.csto include ATEM properties in existing testsDocumentation
Configuration
Example Usage
Technical Implementation
The implementation uses a background thread for UDP communication with proper thread synchronization:
Dispatcher.InvokeIDisposableDependencies
No additional dependencies required - implementation uses only standard .NET networking libraries.
Testing Notes
While unit tests are included, manual testing on Windows with an actual ATEM switcher is recommended to verify:
Fixes #41
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.