The following option:
--sout=#duplicate{dst=display,dst=standard{access=file,mux=ts,dst=go.mpg}}"
is working wel on Linux when reading an rtsp file. The stream is shown on screen and dumped on file.
I would like to do the same on Android with libvlc. I have added the same option to "libvlc_instance_t *instance = libvlc_new(sizeof(argv) / sizeof(*argv), argv);" but it doesn't work. Stream appears on screen but nothing in any file. I have tried a few variations such asdst=file:///..., dst=/sdcard/... and I have obviously android.permission.WRITE_EXTERNAL_STORAGE.
Am I doing something wrong or can't it work on Android?
Thanks in advance for any hint.