Neil Dorin
7eed7866f1
Merge pull request #1243 from PepperDash/routing-fixes
...
Routing fixes
2025-04-04 09:50:27 -06:00
Andrew Welker
c5403f33c5
fix: add previous condition back to the flag check
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-04-04 10:49:04 -05:00
Andrew Welker
b531d724ff
fix: add OverrideType property to TieLineConfig
...
The TielineConfig had no property for the `type` property from an Essentials configuration file to be deserialized into. This has been corrected so that the `type` property in a Tieline JSON configuration is now respected and used to build the tieline.
2025-04-04 00:04:53 -05:00
Andrew Welker
1b17d92ee0
fix: Essentials Routing now checks for SecondaryAudio if necessary
...
To support NVX Routing, checking for the SecondaryAudio routing type is necessary to find the correct path through the system for audio.
2025-04-04 00:03:21 -05:00
Andrew Welker
1fe8993db3
fix: ignore CameraBase routing port list
...
The `RoutingPortCollection` type appears to not be currently
serializable. If a class that contains this collection is going to be
serialized, the collection should have the `JsonIgnore` attribute added.
If the list is needed, use a conversion object and convert it to a
regular list.
2025-04-02 11:56:13 -05:00
Andrew Welker
a055d06bc6
chore: add some logging for route queue processing
2025-02-19 11:18:00 -06:00
Andrew Welker
66cb592c70
chore: add missing curly brace
2025-02-19 11:10:35 -06:00
Andrew Welker
d53a5607e2
chore: reorg methos in routing Extensions class
2025-02-19 11:07:41 -06:00
Andrew Welker
34f59f1410
fix: move ReleaseRoute & RunRouteRequests to use a queue
2025-02-19 11:06:56 -06:00
Andrew Welker
261779d4c4
fix: actually log exception correctly
2025-02-18 14:04:30 -06:00
Andrew Welker
30d5e2b081
fix: add more exception handling
...
Also add null check for `AddRouteDescriptor` method
2025-02-18 14:00:53 -06:00
Andrew Welker
5516ed16c3
fix: use null instead of empty string to make it clearer what's happening
2025-02-18 12:02:52 -06:00
Andrew Welker
8108b9dfdb
fix: attempt to get better logging for exception
...
Fixed some issues with log messages that were not formatted correctly for Serilog.
2025-02-18 11:59:26 -06:00
Nick Genovese
fb4f1482c7
fix: small null check in the release and make route method
2025-01-31 19:33:31 -05:00
Nick Genovese
134e8ba02e
fix: remove null route when releasing route
2024-12-10 07:44:10 -05:00
Andrew Welker
f4c5e6fbeb
fix: remove event sub for route request
...
When route requests made during a destination's cooldown cycle were handled, the event subscription was *NOT* being removed, resulting in the request being run on *EVERY* subsequent cooldown complete event.
2024-11-22 09:14:07 -06:00
Andrew Welker
c3e9d654c9
fix: add try/catch for routing cooldown handler
...
Fixed log statement to handle when a value is null
2024-11-20 15:47:33 -06:00
Andrew Welker
86ba9e0f16
fix: set currentSourceKey & currentSource in order
2024-10-30 10:19:55 -05:00
Andrew Welker
db2d8a213d
fix: get order of source & source key correct
2024-10-29 10:59:26 -05:00
Andrew Welker
590e16298c
fix: use correct key for destination CurrentSourceInfoKey
2024-10-28 16:41:30 -05:00
Nick Genovese
0e16dff90c
fix: checks the routing output port for null
2024-10-24 20:52:24 -04:00
Andrew Welker
d11827bc7b
fix: remove verbose logging for feedback manager
2024-10-18 15:04:08 -05:00
Andrew Welker
631dd2b00d
fix: check for nulls in SwitchingDevice property
2024-10-18 11:09:15 -05:00
Andrew Welker
f04f70495f
fix: check for nulls in route switch descriptors
2024-10-18 10:43:53 -05:00
Andrew Welker
f7c5e18af8
fix: add input port matching to route descriptors
2024-07-26 11:19:43 -05:00
Andrew Welker
ab73bbf979
fix: remove call to remove routerequest
...
The routerequest is being removed if the route is successfully made after the display has cooled down. This was an extraneous removal
2024-07-26 06:53:18 -05:00
Andrew Welker
1fb1947158
fix: ReleaseRoute callse ExecuteSwitch with null for input selector
...
Most devices that implement IRouting will now need to handle the possiblity of a null as the input selector, with the idea being that a null input selector should clear the route to whatever device is selected as the input selector. This may change to a typed value in the future.
2024-07-26 06:51:45 -05:00
Andrew Welker
c56841d95b
fix: attempt to catch a null ref happening in the Route Descriptor
2024-07-22 11:19:34 -05:00
Andrew Welker
5a9b876d80
fix: remove route request once the request has been handled
2024-07-18 13:46:40 -05:00
Andrew Welker
bc217a2008
chore: add logging for current scenario searching
2024-07-08 08:44:45 -05:00
Andrew Welker
ba4ca20936
fix: add tieline type to output for console & CWS
2024-06-24 14:57:07 -05:00
Andrew Welker
c50726f813
feat: separate audio & video route descriptors
...
Also cleaned up logging some
2024-06-24 14:54:37 -05:00
Neil Dorin
71005940ac
fix: catches last condition for destinationPort match
2024-06-21 15:00:17 -06:00
Neil Dorin
e5e79316a6
fix: fixes conditions for specific port and device matches
2024-06-21 14:53:03 -06:00
Neil Dorin
5aa1f85df5
feat: adds try catch to devjson execution thread and adds port names for sdi in/out
2024-06-20 11:57:32 -06:00
Andrew Welker
7bac65002d
fix: correct issues with method calls
2024-06-19 15:01:25 -05:00
Andrew Welker
ed0141a536
fix: change ports and what's used where
2024-06-19 14:37:04 -05:00
Andrew Welker
25ebcdfb5d
feat: update routing methods
...
Routing methods will now take a source port and destination port. This should solve the issue where a device could have multiple input ports defined in tielines and allow Essentials routing to find a path correctly.
2024-06-19 14:09:59 -05:00
Neil Dorin
027bdd5bf4
Merge 'development-2.0.0' into 'feature-2.0.0/fix-version-info'
2024-05-29 12:10:34 -06:00
Andrew Welker
3c5fe88e5a
fix: correct namespaces to allow plugins to load correctly
2024-05-23 12:45:47 -05:00
Andrew Welker
4bf026601f
feat: get it working
2024-05-23 08:41:19 -05:00
Andrew Welker
19bd5723c8
feat: add RoutingFeedbackManager
...
RoutingFeedbackManager keeps track of updates from IRoutingSinkWotjFeedbacl devoces & IRoutingWithFeedback devices to allow for walking tieLines and finding a source.
2024-05-23 08:40:14 -05:00
Andrew Welker
dd66de0463
feat: implement feedback manager
2024-05-23 08:39:09 -05:00
Andrew Welker
3823943cd9
feat: add 2 new routing interfaces to allow for getting feedback for routing
2024-05-23 08:39:09 -05:00
Andrew Welker
528fff569d
refactor: fix namespaces after move
2024-05-23 08:38:56 -05:00
Andrew Welker
06a6b1caa2
refactor: move routing interfaces into their own files
2024-05-23 08:38:50 -05:00
Andrew Welker
1fdaa84a62
fix: remove generics from matrix routing interfaces
2024-04-09 08:33:58 -05:00
Andrew Welker
d2d041dbf7
fix: make IRoutingOutputSlot & RoutingOutputSlotBase generic
2024-04-03 10:46:43 -05:00
Neil Dorin
d26c5344e4
fix: makes IMatrixRouting use generic types.
2024-03-28 19:55:53 -06:00
Andrew Welker
09ac964335
fix: add base classes for input/output slots for matrix routing
2024-03-26 15:19:06 -05:00