Exemplo n.º 1
0
        protected override NdiVideoSink CreateVideoSink()
        {
            _Log.Info("Ndi Video Sink Created");
            var sink = new NdiVideoSink(_NdiSender, Options.VideoWidth, Options.VideoHeight, Options.FrameRateNumerator, Options.FrameRateDenominator, ImageFormatExtensions.CreateFormat(Options.VideoFormat));

            return(sink);
        }
 public NdiVideoSource(NDI.Receiver ndiReceiver, ImageFormat format)
     : base(ImageFormatExtensions.CreateFormat(format))
 {
     _NdiReceiver = ndiReceiver;
     _FourCC      = OutputFormat.FourCC;
 }