-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
"error: NotReadableError: Could not start video source" when pushing by Android Pixel 4A5G of back camera with Chrome #2698
Comments
Hello, after doing some research it seems that that error is thrown when the camera is already in use. The server indeed requests the camera twice, the first call is performed in order to get all available codecs and devices, and the second call is performed in order to perform the streaming. I've edited the code in order to stop the first camera request before starting the second one, please test this nightly release and let me know if it works (click on artifacts, binaries): https://github.com/bluenviron/mediamtx/actions/runs/7234099772 |
YES! It works! Thank you aler9! MERRY CHRISTMAS!!! GOD BLESS YOU! |
Thanks for providing the feedback and merry christmas to you too from Italy :) Regarding the size issue, open another issue and provide details. Regarding latency, the server doesn't introduce any latency, it just routes packets from an end to the other. Try to debug your streaming pipeline and to find the point in which latency is introduced. For instance, try to publish with a desktop browser and check whether latency is lower - it that is the case, it means that the problem lies in the smartphone, otherwise, the problem lies in something in the server side, and so on. |
This issue is mentioned in release v1.4.2 🚀 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v1.3.0
Which operating system are you using?
Describe the issue
when pushing by Android Pixel 4A5G of back camera with Chrome, it high probability dones't work.
Describe how to replicate the issue
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: