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

How to stream camera and preview Camera stream is you have any idea please tell me #1

Open
rupamking1 opened this issue Oct 18, 2020 · 4 comments

Comments

@rupamking1
Copy link

How to stream camera and preview Camera stream is you have any idea please tell me

@gabrielchaves7
Copy link
Owner

Hey, i think i dont understand what you said. Do you want to show a widget with a camera preview?

@rupamking1
Copy link
Author

Yes, I want to make a video stream app,
One user send Camera Video stream and other receive stream & preview stream.
Do you know how that is possible?

@gabrielchaves7
Copy link
Owner

I think this tutorial may help you https://flutter.dev/docs/cookbook/plugins/picture-using-camera with basic concepts . But if you want to take the camera preview from a user1 and send it to user2, i think you will have to capture a video from the user1, send it using whatever you want, and use a stream builder to receive that video on user2.

@rupamking1
Copy link
Author

I want realtime camera stream User1 to User2, and User2 can see realtime video.

I find this code but that is not working-
void cameraBytesToDetector({@required CameraController camera}){
camera.startByteStream( (image) {
// do something with the image stream here
});
}

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

2 participants