-
-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GenericStream in BackgroudActivity #1454
Comments
Hello, You have an example using GenericStream in a Service here: |
Yes, thanks, it helped. |
Hello, Can you share images where I can notice the distortion? |
.Hello, I may have explained the problem incorrectly. I attached a video where the image stretches/distorts during rotation. Used the source code Screen_recording_20240412.mp4 |
Hello, I can't see an image distortion. Did you use this method to handle orientation? |
I completely forgot to update the version, I used 2.4.0, I'm very sorry |
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?
The text was updated successfully, but these errors were encountered: