Capturing Video Stream RRS feed

  • Question

  • I'm developing TVBroadcasting application.

    The application using RTSP/RTP Protocols.

    I use the API functions to capture from the TVCard by the SendMessageA function,

    to capture frame from Card I use the

    SendMessageA(hWnd, WM_CAP_SET_CALLBACK_FRAME, 0, frame);


    but this function has a problem that is if the window handle is minimized the capturing stops


    I try to use

    SendMessageA(hWnd, WM_CAP_SET_CALLBACK_VIDEOSTREAM, 0, frame);


    but the function that must be called when the frame capture doen't called


    public delegate void FrameCaptured(IntPtr hWnd, IntPtr lpVHdr);

    public FrameCaptured frame;


    public void OnFrameCapture(IntPtr hWnd, IntPtr lpVHdr)


             // Any code....



    I want to know what is wrong with my code


    Thanks for help

    Sunday, June 24, 2007 9:35 AM