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: Ghislain MARY
Subject: Re: [Linphone-developers] python linphone RPI3
Date: Mon, 21 Mar 2016 15:05:55 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi Leland,

I included a link to your project in the https://wiki.linphone.org/wiki/index.php/Raspberrypi:start page. If any other user of the linphone python module want to be listed there, please tell us where your code is by replying to this thread.

Regarding the build for Raspberry Pi 3, we don't have one here so can not try to build for it. However I may try to help. The best would be to cross-compile as we are doing for Raspberry Pi 1. However that requires a rootfs image of the system running on the Pi. I'm not really aware of the changes between each version of the Pis. Can someone give some info about this? Is the raspbian image different? Should an other toolchain be used or the one for Raspberry Pi 1 is ok?

Cheers,
Ghislain

On 18/03/2016 21:43, Leland Green wrote:
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



_______________________________________________
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]