Beispiel #1
0
 public Form1()
 {
     callback = (width, height, data, format, size, estFps, videoId) => {
         Console.WriteLine("Got frame, width: {0} height: {1} [est. FPS: {2}, type: {3}]",
                           width, height, estFps, format);
         SetRuntimeData(width, height, data, format, size, estFps);
     };
     InitializeComponent();
     comboType.SelectedIndex = FMT_JPEG;
 }
Beispiel #2
0
 private static extern void StartDecoding(string url, double userFps,
                                          int fmt_out_type, FrameDecodedCallback callback, ref IntPtr videoId);