Open samchen7910 opened 1 year ago
First guess is to check your video quality. iPhone camera native resolution and frame rate are really too much for realtime streaming, so you should set it thoughtfully. What resolution and frame rate do you capture from camera and what resolution (or resolutions) do you encode and stream?
Here are two runs of same code on same device I've just done, but with different video quality settings:
Thanks for quick response @fedulvtubudul Here are the resolution and frame rate which I captured from iPhone's camera. In the encoding part, I leave it at Nil. This setup works well with the mediasoup_ios_client. Could you tell me which resolution, frame rate, and encoded resolution did you use?
640x360@20fps is not that much to be a problem. Have you tried to examine your app with Instruments and see where all the memory goes?
Firstly, thanks for the package, it's awesome. I'm facing an issue the video stream from iPhone is extremely laggy but iPad is working fine. with the same code.
iPhone 12 with iOS versions 15.5 and 16.6 iPad 2020 with iPadOS version 16.5.1
Pictures below show that when iPhone joins a room, the RAM goes up to 600mbs+, while iPad stays at 170mbs+