Config = new LibCECConfiguration();
Config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
Config.DeviceName = "CEC Tester";
- Config.ClientVersion = CecClientVersion.Version1_6_2;
+ Config.ClientVersion = CecClientVersion.Version2_0_4;
Config.SetCallbacks(this);
LogLevel = (int)CecLogLevel.All;
Lib = new LibCecSharp(Config);
+ Lib.InitVideoStandalone();
- Console.WriteLine("CEC Parser created - libcec version " + Lib.ToString(Config.ServerVersion));
+ Console.WriteLine("CEC Parser created - libCEC version " + Lib.ToString(Config.ServerVersion));
}
public override int ReceiveCommand(CecCommand command)