Skip to content
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

Switch camera during livestream #26

Open
dunghacknicktao opened this issue Oct 22, 2024 · 0 comments
Open

Switch camera during livestream #26

dunghacknicktao opened this issue Oct 22, 2024 · 0 comments

Comments

@dunghacknicktao
Copy link

Hello,

After I call startVideoStreaming stream the selected camera and stream data successfully, I want to change to another camera (from front to rear camera, for example).

I tried to call stopVideoStreaming and dispose the current camera and redo the process of creating a new controller and initing the stream again. However, I get an error and cannot restream this new camera on Android devices.. for iPhone, I can push the new data stream but the camera view is not displayed.

Please could you help me this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant