Hi..
I am using MediaCapture class to capture video frames from Webcam in my native C++ code
I need to use StartRecordToCustomSinkAsync API to achieve this..
IAsyncAction^ StartRecordToCustomSinkAsync(
MediaEncodingProfile^ encodingProfile,
IMediaExtension^ customMediaSink
)
or
IAsyncAction^ StartRecordToCustomSinkAsync(
MediaEncodingProfile^ encodingProfile,
String^ customSinkActivationId,
IPropertySet^ customSinkSettings
)
I dont know how to use custom media sink to receive video frames..
Can anybody give me simple sample peice of code which help me to understand how to use above API
Thanks in advance