Ejemplo n.º 1
0
 internal Channel(Casparcg.Core.Network.ServerConnection connection, int id, VideoMode videoMode)
 {
     ID         = id;
     VideoMode  = videoMode;
     Connection = connection;
     CG         = new CGManager(this);
 }
Ejemplo n.º 2
0
        public CasparDevice()
        {
            Settings   = new CasparDeviceSettings();
            Connection = new Casparcg.Core.Network.ServerConnection();
            Channels   = new List <Channel>();
            Templates  = new TemplatesCollection();
            Mediafiles = new List <MediaInfo>();
            Datafiles  = new List <string>();

            Version = "unknown";

            Connection.ProtocolStrategy        = new Amcp.AMCPProtocolStrategy(this);
            Connection.ConnectionStateChanged += server__ConnectionStateChanged;
        }