Switcher
public class Switcher
An endpoint to interact with BMD ATEM controllers like “Atem Software Control” or any of the hardware control panels.
-
Declaration
Swift
public let channel: EventLoopFuture<Channel> -
Start a switcher endpoint that controllers can interact with.
Behaviour of this switcher can be defined using the
setupparameter. This is a function that will be called with a connections handle before the switcher is started. Use this connection parameter to attach handlers for the messages you want to act upon. SeeSwitcherConnectionsfor more information.Declaration
Swift
public init(eventLoopGroup: EventLoopGroup = MultiThreadedEventLoopGroup(numberOfThreads: System.coreCount), setup: (SwitcherConnections) -> Void)Parameters
eventLoopGroupThe Swift NIO event loop group this switcher will run in.
setupA function to setup the behaviour of the switcher.
View on GitHub
Switcher Class Reference