bigbluebutton / bigbluebutton-tablet

Repository for mobile code
11 stars 16 forks source link

Bad Screenshare Quality on M1 iPads #44

Open TeaObvious opened 2 years ago

TeaObvious commented 2 years ago

Hardware

Apple iPad Pro 11-inch 3rd Generation iPad OS 15.5 (19F77) Produced: Summer 2021

Tested Mobile App Versions

10 + 11 + 12

Problem

The Screenshare Quality looks like 240p Streams or worse - Camera streams look normal (The provided Screenshots are from Version 11) screenshot-a7702b13 screenshot-94d22d92

Expectations

The Screenshare Quality should be similar to Airplay (Images are Taken on the Device, not via Airplay, the Airplay quality is very similar thou)

2022-06-17-141755 2022-06-17-141633

Steps to reproduce

  1. Use an iPad Pro 11-inch with a M1 Processor
  2. Install the BBB Mobile App
  3. Connect to the demo-ios Server
  4. Create a Session and share the Screen

Ref: https://github.com/bigbluebutton/bigbluebutton/issues/10051#issuecomment-1145473089

TiagoJacobs commented 2 years ago

Hello, in your screenshots the broadcast popup is opened (so screen is blurred), did you considered closing the popup (by clicking out of it)?

TeaObvious commented 2 years ago

Of course, as you see there are always 2 screenshots per section "Problem" + "Expectations" - so in total 4 Screenshots, lets enumerate them from 1-4 top to bottom. In both sections the first screenshots (1 and 3) is the normal view without the popup open, the second screenshot (2 and 4) is just for reference that this also happens with popups.

TiagoJacobs commented 2 years ago

Ok, now I understood.

Yes, it seems we need to improve the resolution accordingly with the broadcaster ipad's capacity, it's probably going to come in a future release, keeping this open so we don't forget.

Thanks again for reporting.

gustavo-em commented 2 years ago

Hello, I've tested different resolutions and memory usage, please see:

100px width: 100

200px width: 200

300px width: 300

400px width: 400

500px width: 500

600px width: 600

700px width: 700

800px width: 800

TiagoJacobs commented 2 years ago

Hello @TeaObvious - as mentioned, in our test devices, the memory limit seems to be 50MB, so it looks like the maximum we can go is 800px width.

Are you a developer with a mac + xcode?

I ask it because if this is the case, we could show you how to run the code from your mac (connected to your ipad M1), to see if this memory limit is different in ipad M1.

TeaObvious commented 2 years ago

@TiagoJacobs not yet, but my request for a MacBook Pro is approved so in the near future i should have access to a mac to perform this kind of task for you. I have no eta yet, you know such things can take a while in universities. :)

TiagoJacobs commented 2 years ago

@TeaObvious sure, please keep us posted, meanwhile, we'll try to increase it a little bit (now it's defaulting to 600px width), it seems that something around 800px will be safe.

@gustavo-em is doing more tests.

TeaObvious commented 1 year ago

hi @TiagoJacobs sorry for the long delay in my response, i still haven't received my work macbook yet, but soon™ i should get one. At least this one will now be a new M2 one.

Today i've tested it again with the Version from the App Store 1.3 with BBB Version 2.6.0-beta.7.

The screenshare resolution is still unreadable. I still have the Test Flight App, so if you publish a test version over there, i can collect data that way.

dluschan commented 1 year ago

Hello. I confirm that the quality on the iPad Pro (12.9-inch 3rd generation iPadOS 16.3.1) + BigBlueButton Server 2.6.0-rc.9 (1020) is terrible. Practically nothing to make out. Sadly ;(

TiagoJacobs commented 1 year ago

Hello @dluschan - we're aware of this situation.

This is caused by a memory limit on the broadcast extension on iOS.

We're (as time permits) investigating ways to improve this software, including but not limited to using a hardware encoder.

Keep watching this issue, we'll post new here as soon as we get this improved.

agru commented 10 months ago

Hello, any news about this issue?