<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>androidHdmiGrabber</title><revhistory><revision><revnumber>12</revnumber><date>2021-05-17 22:27:08</date><authorinitials>crose</authorinitials></revision><revision><revnumber>11</revnumber><date>2021-05-17 22:24:01</date><authorinitials>crose</authorinitials></revision><revision><revnumber>10</revnumber><date>2021-05-17 22:21:44</date><authorinitials>crose</authorinitials></revision><revision><revnumber>9</revnumber><date>2021-05-17 22:08:20</date><authorinitials>crose</authorinitials></revision><revision><revnumber>8</revnumber><date>2021-05-17 22:05:09</date><authorinitials>crose</authorinitials></revision><revision><revnumber>7</revnumber><date>2021-05-17 22:04:58</date><authorinitials>crose</authorinitials></revision><revision><revnumber>6</revnumber><date>2021-05-17 22:03:02</date><authorinitials>crose</authorinitials></revision><revision><revnumber>5</revnumber><date>2021-05-17 22:02:32</date><authorinitials>crose</authorinitials></revision><revision><revnumber>4</revnumber><date>2021-05-17 22:01:33</date><authorinitials>crose</authorinitials></revision><revision><revnumber>3</revnumber><date>2021-05-17 22:00:55</date><authorinitials>crose</authorinitials></revision><revision><revnumber>2</revnumber><date>2021-05-17 21:47:46</date><authorinitials>crose</authorinitials></revision><revision><revnumber>1</revnumber><date>2021-05-17 21:46:54</date><authorinitials>crose</authorinitials></revision></revhistory></articleinfo><section><title>Android: Screen sharing via HDMI</title><para><emphasis role="strong">Solution:</emphasis> </para><itemizedlist><listitem><para>Share the tablet screen to a Notebook via HDMI. </para></listitem><listitem><para>The Notebook uses the shared screen </para><itemizedlist><listitem><para>a) like a 'webcam' or </para></listitem><listitem><para>b) shows the shared screen and reshare the window. </para></listitem></itemizedlist></listitem></itemizedlist><para><emphasis role="strong">Comparison</emphasis> </para><itemizedlist><listitem><para>A similar setup can be reached with  </para></listitem></itemizedlist><section><title>Hardware</title><orderedlist numeration="arabic"><listitem><para>Android Tablet with USB-C connector (Samsung Galaxy S4, S6). </para></listitem><listitem><para>USB-C / HDMI Adapter (plugged into the tablet) </para></listitem><listitem><para>HDMI cable (between 2 and 4) </para></listitem><listitem><para>HDMI capture stick (plugged into the notebook). If the USB port of the HDMI capture stick is to big, use an USB extension. </para></listitem></orderedlist><para><inlinemediaobject><imageobject><imagedata fileref="https://wiki.math.uzh.ch/public/androidHdmiGrabber?action=AttachFile&amp;do=get&amp;target=tablet-hdmi-capture.png"/></imageobject><textobject><phrase>tablet-hdmi-capture.png</phrase></textobject></inlinemediaobject> </para></section><section><title>Use with BBB in a Y27 seminar room</title><para><emphasis role="strong">Part 1: Setup BBB</emphasis> </para><itemizedlist><listitem><para>Power on the Seminar room laptop. </para></listitem><listitem><para>Open the browser. </para></listitem><listitem><para>Login to MY &gt; start a BBB stream (or use MS-Teams, Zoom). </para></listitem><listitem><para>Share the notebook screen in BBB - or just the <emphasis>guvcview</emphasis> window (see below). </para></listitem><listitem><para>Students in the room: switch on the beamer (small black box, takes 2 minutes to power on). </para></listitem></itemizedlist><para><emphasis role="strong">Part 2: Share tablet screen</emphasis> </para><itemizedlist><listitem><para>Connect the tablet with HDMI Capture stick to the notebook (see hardware above). </para></listitem><listitem><para>Samsung: <emphasis role="strong">do not use Samsung DeX</emphasis> .. <emphasis>the tablet will act as a notebook, not as a tablet (in this scenario more disadvantage than advantage)</emphasis>. </para></listitem><listitem><para>Start <code>guvcview</code> (webcam icon on the left panel) </para><itemizedlist><listitem><para>Select the right video source:  </para><itemizedlist><listitem><para>On tab <emphasis>Video Controls</emphasis> select device: <emphasis>USB Video: USB Video</emphasis>.  </para></listitem><listitem><para>There are probably two (same name), check both. </para></listitem><listitem><para>A popup appears: <emphasis>Launch new process or restart?</emphasis> &gt;&gt; <emphasis role="strong">restart</emphasis>. </para></listitem></itemizedlist></listitem></itemizedlist></listitem><listitem><para>Resolution: 1920x 1080 </para></listitem><listitem><para>Keep the <emphasis>guvcview</emphasis> open. To bring the tablet share window to front, click in it. </para></listitem></itemizedlist><para><inlinemediaobject><imageobject><imagedata fileref="https://wiki.math.uzh.ch/public/androidHdmiGrabber?action=AttachFile&amp;do=get&amp;target=guvcview.png"/></imageobject><textobject><phrase>guvcview.png</phrase></textobject></inlinemediaobject> </para><para><emphasis role="strong">Conclusion:</emphasis> </para><itemizedlist><listitem><para>The notebook webcam can still show the speaker. </para></listitem><listitem><para>A window (=guvcview) is the tablet screen. </para></listitem><listitem><para>The quality should be fine for streaming as well as beamer presentation (both at the same time). </para></listitem><listitem><para>The seminar room microphones are used as regular. </para></listitem></itemizedlist></section></section></article>