I need to implement an architecture where I can push data from AppSink to Appsrc. Now, I can't figure out if it can be done within the same pipeline or I would need two pipelines to achieve this. Considering I am somehow manipulating the data between apppsink and appsrc.
Another thing is, from AppSink I can extract samples using pull-samples, and to AppSrc push-sample or push-buffer can be used to put data. So, is there a way I can generate a buffer of received samples in AppSink explicitly or I should feed sample by sample to the AppSrc?
Please suggest.