StartPreviewToCustomSinkAsync not displaying preview in screen RRS feed

  • Question

  • I have modified RealTimeCommunication app as follows:

    Replace StartRecordToCustomSinkAsyn with StartPreviewToCustomSinkAsync.  When the app is running, the preview does not get displayed on the screen, but the camera is active and frames are getting passed to the client.  Is there a way to have the sink active and display the preview in the screen at the same time.  Is this because the preview pin is sending the frames to the custom sink?

    Thanks in advance


    Friday, September 21, 2012 6:19 PM

All replies

  • That is correct.  When a custom sink is set up for preview, samples do not get fed to the default renderer.  The same idea applies to if you set a sample callback.
    Thursday, October 25, 2012 9:24 PM