I'm using VideoCore library for streaming the live video which is working perfectly.
my requirement is that i want that live streaming video record and store in document directory so anyone can tell me how can i do that?
how can i record live streaming video?
I checked library and it looks like the only way to have record function is creation of custom output.
There is
Splitclass which allows to push a buffer to multiple outputs. So you need to create newIOuputimplementation with file saving function and add it to flow using thatSplitclass.Update #1
I found that there is a file output example inside library (
VCSimpleSession.mmfile):Try to uncomment it and check.