I used this code example to capture videos in background.
Unfortunately, my attempts to create a camera preview failed. The preview in my activity crashes when the background-capture-process is started and vice versa.
Any ideas, how to avoid a those crashes?