Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
create screen casting and reverse tethering doc #30
Conversation
lduboeuf
added some commits
Dec 5, 2017
lduboeuf
changed the title from
create screen casting doc
to
create screen casting and reverse tethering doc
Dec 5, 2017
| +Some users may don't have an available wifi connection for their phone nor a data subscription from their mobile provider. | ||
| +This short tutorial will help you to connect your Ubuntu Touch to your computer to access internet. | ||
| + | ||
| +Prerequisite: Phone is connected to the computer with usb and developper mode enabled. |
| +Steps: | ||
| +------ | ||
| + | ||
| +1 - on phone: ``android-gadget-service enable rndis`` |
UniversalSuperBox
Dec 5, 2017
Member
This numbering style does not work in the build output. Please use the following:
| + | ||
| +On computer side: | ||
| +----------------- | ||
| + For real time casting: |
| + | ||
| + Prepare your computer to listen to a tcp port(here 1234) and forward stream to a video player (here mplayer): | ||
| + | ||
| + nc -l -p 1234 | gzip -dc | mplayer -demuxer rawvideo -rawvideo w=384:h=640:format=rgba - |
UniversalSuperBox
Dec 5, 2017
Member
Use two colons followed by an indented line to create a code block. For example...
[...]and forward stream to a video player (here mplayer)::
nc -l[...]
| +On Ubuntu Touch: | ||
| +---------------- | ||
| + | ||
| + mirscreencast -m /run/mir_socket --stdout --cap-interval 1 -s 384 640 | gzip -c | nc 10.42.0.209 1234 |
UniversalSuperBox
Dec 5, 2017
Member
Please add a statement followed by two colons (as mentioned above) to explain this command and force Sphinx to create a code block.
| +References | ||
| +---------- | ||
| + | ||
| +* initial source: https://wiki.ubuntu.com/Touch/ScreenRecording` |
|
right i think i will install sphinx locally or by using an editor to avoid wasting your time at reviewing text formating :) |
lduboeuf
added some commits
Dec 5, 2017
|
ok seems to be good i hope |
UniversalSuperBox
requested changes
Dec 8, 2017
I really like this. Just a couple of nitpicky changes, and we'll be ready to go!
| + | ||
| +Prerequisite: Phone is connected to the computer with usb and developer mode enabled. | ||
| + | ||
| +Steps: |
| + | ||
| +2. on computer: get your rndis ip address e.g:``hostname -I`` | ||
| + | ||
| +3. on phone: |
lduboeuf
and others
added some commits
Dec 8, 2017
|
lol, sorry :) Other question: i would like to put an extra file ( say a bash script ) put don't know where to put it (same folder, assets folder, other folder ?) |
|
Hmm, good question. Looking at how the Godot engine does it, I'd say place the file inside of a |
|
alright, done |
lduboeuf commentedDec 5, 2017
don't know if this is the right place for this memo