RootEncoder
RootEncoder copied to clipboard
GenericStream in BackgroudActivity
Hi, Pedro! I am currently doing a project that allows the user to stream from the camera in the background. For this task, I used the background example, everything worked well in the background, but there was a problem with orientation: if the user turned the phone, the camera would not turn on the stream. After that, I saw a Generic Stream in your project that solves this problem, but I don't fully understand how to run it in the background. In the example, it works in the background, but if you start the stream and exit the activity, then the application crashes, is there a way to solve this problem? Is it possible for it to work with orientation as in Generic Stream (Rotation Activity) and at the same time retain functionality in the background, as in BackgroundActivity?