mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
feat: add port forwarding functionality for debug websocket in DebugSessionRequestHandler
This commit is contained in:
commit
6a4e3d5be2
3 changed files with 109 additions and 3 deletions
|
|
@ -348,9 +348,9 @@ namespace PepperDash.Essentials.Core
|
|||
var sources = DeviceManager.AllDevices.OfType<IRoutingOutputs>()
|
||||
.Where(d => !(d is IRoutingInputsOutputs)).ToList();
|
||||
|
||||
foreach (var sink in sinks)
|
||||
foreach (var sink in sinks.Where(d => !(d is IRoutingInputsOutputs)))
|
||||
{
|
||||
foreach (var source in sources)
|
||||
foreach (var source in sources.Where(d => !(d is IRoutingInputsOutputs)))
|
||||
{
|
||||
foreach (var inputPort in sink.InputPorts)
|
||||
{
|
||||
|
|
@ -363,6 +363,10 @@ namespace PepperDash.Essentials.Core
|
|||
continue;
|
||||
}
|
||||
|
||||
Debug.LogVerbose("AudioOrSingleRoute Found: {audioRoute}", audioOrSingleRoute);
|
||||
|
||||
Debug.LogVerbose("VideoRoute Found: {videoRoute}", videoRoute);
|
||||
|
||||
if (audioOrSingleRoute != null)
|
||||
{
|
||||
// Only add routes that have actual switching steps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue