Romo icon indicating copy to clipboard operation
Romo copied to clipboard

Video not working with iPhone 5S

Open fotiDim opened this issue 5 years ago • 2 comments

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 avatar Oct 06 '20 08:10 fotiDim

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 avatar Apr 30 '21 08:04 fotiDim

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.

fotiDim avatar May 05 '21 21:05 fotiDim