Re: Smartphone as Webcam with Free Software?

2020-04-30 Thread Bernhard E. Reiter
Hi Dmitry,

thanks for your helpful response!

Am Mittwoch 29 April 2020 18:10:22 schrieb Dmitry Alexandrov:
> "Bernhard E. Reiter"  wrote:

> > https://f-droid.org/de/packages/pl.hypeapp.endoscope/
> > https://f-droid.org/en/packages/net.majorkernelpanic.spydroid/
> > they are all a few years old
>
> So what?

this indicates: the chance of this being a less common use case is higher.
Of course there are very good old and stable pieces of software,
so this is just an heuristic.

> > and all offer wifi
> > And no USB solution on sight?
>
> Both of them stream video over RTSP, i. e. over TCP/IP which which is
> medium-agnostic.  So feel free to use USB.

This is a good idea. I lack experience how easy it is to set up
an IP connection between a regular Android phone and a GNU/Linux system.
Do you have good pointers for documentation?
(I wildly guess it is using USB tethering, though I do not want
to use the internet connection of the phone. )


> > but non of them an encrypted stream.
>
> Why do you need encryption if you are going to use USB connection?

Good point, for USB this is not needed.

> > Has somebody seen better instructions for making this work?
>
> I have not tried pl.hypeapp.endoscope but net.majorkernelpanic.spydroid
> have worked out of a box for me.  No instructions needed.

What about connecting this incoming stream to your application, e.g. firefox, 
if you are going to join a jitsi meet or bigbluebutton video conference?
(Just installing jitsi meet app on the phone is often a bad option as elder 
phones will not be able to cope with the several incoming streams from the 
CPU side.)

For me personally, I'll probably get it sorted out at some point.
It would be cool if we had instructions that can be used by more people.

So steps are
 a) make an network connection via USB cable between phone and GNU desktop
 b) run an app like endoscope or spydroid (recommended from fdroid)
 c) protect your network (what needs to be done on the phone? desktop?)
 d) connect incoming stream to application


Am Mittwoch 29 April 2020 19:44:09 schrieb Dmitry Alexandrov:
> Yet, there is thing to be concerned about in your use-case — it is missing
> _authorization_.  And itʼs much more serious issue, since
> net.majorkernelpanic.spydroid listens on _any_ interface — even global if
> your little machine has one.  And it does not provide a user interface to
> configure it the other way.
>
> So youʼd better command a machine, where ‘Spydroid’ will be running, to
> accept connections to its port only from USB (‘rndis’ in *droid lingo). 
> Something like that, if I am not mistaken:
>
>   # iptables -I INPUT ! -i rndis+ -p tcp --dport 8086 -j REJECT
>   # ip6tables -I INPUT ! -i rndis+ -p tcp --dport 8086 -j REJECT

As spydroid will run on the android device, this would probably need another 
application to manipulate the firewall rules?

Best Regards,
Bernhard

-- 
FSFE -- Founding Member Support our work for Free Software: 
blogs.fsfe.org/bernhard https://fsfe.org/donate | contribute


signature.asc
Description: This is a digitally signed message part.
___
Discussion mailing list
Discussion@lists.fsfe.org
https://lists.fsfe.org/mailman/listinfo/discussion

This mailing list is covered by the FSFE's Code of Conduct. All
participants are kindly asked to be excellent to each other:
https://fsfe.org/about/codeofconduct


Best video conferencing/distance learning tools?

2020-04-30 Thread Carsten Agger
I'm thinking og buying a low-power-consumption but powerful computer to
set up as a video conferencing/communication server at home as a
contribution to a very apparent need and as an alternative to FaceTime,
Zoom and whatever.

Do people have experience with this? I've tried having a Jitsi Meet
instance once and found it difficult to tweak for really good performance.

I'm tempted to go with BigBlueButton - it seems to have everything and
promises to be easy to install.

Do anyone have experience running these things for practical use?


Best,
Carsten




pEpkey.asc
Description: application/pgp-keys
___
Discussion mailing list
Discussion@lists.fsfe.org
https://lists.fsfe.org/mailman/listinfo/discussion

This mailing list is covered by the FSFE's Code of Conduct. All
participants are kindly asked to be excellent to each other:
https://fsfe.org/about/codeofconduct


Re: Smartphone as Webcam with Free Software?

2020-04-30 Thread Dmitry Alexandrov
"Bernhard E. Reiter"  wrote:
> thanks for your helpful response!

Hold on, we are not finished yet. :-)

> Am Mittwoch 29 April 2020 18:10:22 schrieb Dmitry Alexandrov:
>> Both of them stream video over RTSP, i. e. over TCP/IP which which is 
>> medium-agnostic.  So feel free to use USB.

> I lack experience how easy it is to set up an IP connection between a regular 
> Android phone and a GNU/Linux system.

It is a well-supported use case.  Very easy.

> Do you have good pointers for documentation?

No.  It just works.

> (I wildly guess it is using USB tethering,

Yes.

> though I do not want to use the internet connection of the phone.)

There is a dozen ways to configure networking in GNU.  Until I know which you 
are using, I canʼt tell you anything but the obvious thing, that youʼll have to 
make sure that _default route_ is bound for wherever you are want to.

>> Why do you need encryption if you are going to use USB connection?
>
> Good point, for USB this is not needed.

Itʼs actually hardly needed for wireless LAN either.

>> I have not tried pl.hypeapp.endoscope but net.majorkernelpanic.spydroid have 
>> worked out of a box for me.  No instructions needed.
>
> What about connecting this incoming stream to your application, e.g. firefox, 
> if you are going to join a jitsi meet or bigbluebutton video conference?

Have you googled it?  Making RTSP stream into virtual video device is a rather 
common task.  Keywords are ‘v4l2loopback’ and ‘GStreamer’.

> For me personally, I'll probably get it sorted out at some point.  It would 
> be cool if we had instructions that can be used by more people.

Sure, it would be very apt to make whatever youʼll achieve into a comprehensive 
guide. ;-)

> So steps are
> ‹…›
> c) protect your network (what needs to be done on the phone?

The best of all would be patch the server (Spydroid or otherwise), so it 
listens only on the said interface.

Until that, we have to use firewall (not to mean that is something bad).

> [on the] desktop?)

Nothing specific.  We are not running any extra servers there.

> Am Mittwoch 29 April 2020 19:44:09 schrieb Dmitry Alexandrov:
>> …spydroid listens on _any_ interface — even global if your little machine 
>> has one.  And it does not provide a user interface to configure it the other 
>> way.
>>
>> So youʼd better command a machine, where ‘Spydroid’ will be running, to 
>> accept connections to its port only from USB (‘rndis’ in *droid lingo).  
>> Something like that, if I am not mistaken:
>>
>>  # iptables -I INPUT ! -i rndis+ -p tcp --dport 8086 -j REJECT
>>  # ip6tables -I INPUT ! -i rndis+ -p tcp --dport 8086 -j REJECT
>
> As spydroid will run on the android device, this would probably need another  
> application to manipulate the firewall rules?

In my experience, *droid (LineageOS if distro matters) does not flush ‘filter’ 
table, so it would be fine to just add them at startup.

But dealing with so complicated and unfriendly system as *droid you never can 
be sure.  I would ask this again at some *droid-related m/l.


signature.asc
Description: PGP signature
___
Discussion mailing list
Discussion@lists.fsfe.org
https://lists.fsfe.org/mailman/listinfo/discussion

This mailing list is covered by the FSFE's Code of Conduct. All
participants are kindly asked to be excellent to each other:
https://fsfe.org/about/codeofconduct