/// <summary> /// Ctor. /// </summary> /// <param name="amcpTcpParser"></param> /// <param name="mediaParser"></param> public AMCPProtocolParser(IAMCPTcpParser amcpTcpParser, IDataParser mediaParser) { AmcpTcpParser = amcpTcpParser; AmcpTcpParser.ResponseParsed += TcpResponseParsed; DataParser = mediaParser; }
/// <summary> /// Constructor /// </summary> /// <param name="amcProtocolParser"></param> /// <param name="id">ID of the video channel</param> /// <param name="videoMode">mode of video. IE: 1080i50,720p50...</param> public ChannelManager(IAMCPProtocolParser amcProtocolParser, uint id, VideoMode videoMode) { _amcpProtocolParser = amcProtocolParser; _amcpTcpParser = amcProtocolParser.AmcpTcpParser; ID = id; VideoMode = videoMode; CG = new CGManager(this, _amcpTcpParser); MixerManager = new MixerManager(this, _amcpTcpParser); }
/// <summary> /// Ctor /// </summary> /// <param name="channel">Parent channel</param> /// <param name="amcpTcpParser"></param> public CGManager(ChannelInfo channel, IAMCPTcpParser amcpTcpParser) { AmcpTcpParser = amcpTcpParser; Channel = channel; }
public MixerManager(ChannelInfo channel, IAMCPTcpParser amcpTcpParser) { AmcpTcpParser = amcpTcpParser; _channel = channel; }