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

Video not working with iPhone 5S #3

Open
fotiDim opened this issue Oct 6, 2020 · 2 comments
Open

Video not working with iPhone 5S #3

fotiDim opened this issue Oct 6, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@fotiDim
Copy link
Contributor

fotiDim commented Oct 6, 2020

Video is not working right with iPhone 5s (Romo X app). I do get a video feed but it is very glitchy. I see mostly green frames and only occasionally frames from the camera feed. It seems that the behaviour is dependent on where Romo is facing. On some orientations in my room the camera feed goes normal but as soon as I move Romo a bit it goes green again.

At the same time my iPhone SE works fine, so it must be something with the 5s hardware encoding.

More info in this PR

@fotiDim fotiDim added hacktoberfest bug Something isn't working labels Oct 6, 2020
@fotiDim
Copy link
Contributor Author

fotiDim commented Apr 30, 2021

There has been some progress on this topic. We now have 2 paths for video encoding. I have brought back the FFMPEG video path to allow iOS 7 compatibility. Currently it is only being used by iPhone 4. We can test to see if 5s works better using FFMPEG compared to VideoToolBox.

@fotiDim
Copy link
Contributor Author

fotiDim commented May 5, 2021

After spending some time experimenting, FFMPEG is crashing on the iPhone 5S due to memory (BAD ACCESS) issues. I suspect that some code is not ready for 64 bit but all my attempts to find the root cause were unsuccessful.

It is probably better to drop this effort and migrate to WebRTC instead. I had initial success running a demo on iPhone 5S using WebRTC and video streaming is solid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant