linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] python linphone RPI3


From: Leland Green
Subject: Re: [Linphone-developers] python linphone RPI3
Date: Fri, 18 Mar 2016 15:43:25 -0500

Hi Alejandro,

I have a project that uses Linphone in Python. I started with the sample program for Python on the Linphone.org website. But it has grown considerably. It's a security camera with a motion detector. You can call into the Raspberry Pi, which is running the security_camera.py script. It works pretty well. Although, I don't have the audio from the RPi working, yet. I'm not sure why. Anyone have any ideas? I think it's because I don't have my USB soundcard setup right (somehow). But I'm not sure.

Does anyone have tips for Linphone using audio from the Raspberry Pi &/or from Python in general?

If you, or anyone, would like to take a look at this, I just updated the Readme to include the features and then the requirements. Here's a link: https://github.com/lelandg/Raspberry-Pi-Security-Camera
I would love to hear comments. Feel free to enter Issues on the project, even if you just want to comment. Questions will be answered in an expeditious manner. 

You could easily strip out the parts to do with custom hardware (that I built), by removing code related to them. And the Fritzing files are included, so you could also build the circuit, if you'd like. (It's a simple circuit so far, suitable for beginners.) I have further plans, so stay tuned. :)

If anyone at Linphone or Belledonne Communications would like to include my project in a list of sample projects, I would be honored.

I hope this helps,
Leland...

On Fri, Mar 18, 2016 at 2:37 PM, Alejandro <address@hidden> wrote:
Hi all,

Is there any plan to bring a package specifically compiled to Raspberry PI 3?

We would like to carry out a profiling of linphone, and see whether video rendering can eventually be supported. The available python package with the sample script from https://wiki.linphone.org/wiki/index.php/Raspberrypi:start
takes around 39% of CPU in total (streaming video with the raspicam).

We can confirm that the "Enable self-preview" feature of the "linphone 3.6", which is the out-of-date version that is installed in raspbian by using apt-get, takes almost the whole CPU to show the video on screen. I guess that compiling the libraries, or implementing a specific filter for RPI3, would made video rendering possible, especially when the raspistill tool for taking pictures with the raspicam is able to render live video without significant cpu usage.

Any further comments on this regard will be very helpful.

best
Alex


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]