How to share iPad screen in BigBlueButton on Linux PC using Android phone

I will explain how to share the screen of an iPad Pro (I) in a BigBlueButton session (BBB) using only a Linux PC (L) and an Android Phone (A).

Note that it is also possible to stream live handwriting to BBB using a digitizer board or a simple document camera connected to (L). In the first case, one can use the whiteboard app Xournal on (L) to save the notes in the form of a PDF afterwards.

I encountered the following problems while trying to share the screen of (I) in (BBB):

  1. Although BBB offers a collaborative whiteboard, it is currently not possible to download it together with the writing in the end.
  2. Although it is possible to join a BBB session from (I), it is currently not possible to share the screen.
  3. One can currently share the screen of (I) only in the following two scenarios: either via AirPlay to machines running an AirPlay receiver which are connected to the same ‘‘friendly’’ WiFi network (Eduroam does not work), or to a Mac via cable.

Prerequisities

  1. Install scrcpy on (L).
  2. Install AirReceiver on (A). This is a commercial product, which currently costs 3€.
  3. Allow USB-debugging in the developer’s options of (A).

Steps

  1. Create a WiFi mobile hotspot on (A) and connect to it with (I).
  2. Connect (A) to (L) via USB and switch the connection type on (A) to USB-tethering (also disable all sounds and notifications or better put it in the plane mode).
  3. Run AirReceiver on (A), click share screen on (I), and select (A) as the target. The screen of (A) should now mirror the screen of (I).
  4. Run scrcpy on (L), so that a window with the screen of (A) appears. This screen can be now streamed in BBB (if you are using a tiling manager, put the BBB and scrpy window on the the same virtual desktop and switch to the monocycle mode).

Example

Other ideas