Video calls on Android - which libs are required?

ZC
Zarko Coklin
Fri, Apr 7, 2017 12:02 AM

Hi all,

I managed to get video calls on Linux. For video calls to work, I needed following libraries:

  • OpenH264

  • SDL2

  • v4l2

This allows me to have a basic video calling capability (no extra video manipulation offered through ffmpeg).

Can I use the same on Android or follow what is given on this link: https://trac.pjsip.org/repos/wiki/Getting-Started/Android? The link suggests following:

  • native capture (does this mean Android already offers native capture or I need v4l2 for that?)

  • native OpenGL ES 2.0 renderer (requires Android 2.2 (API level 8) or higher). (What does OpenGL offer that SDL2 does not?)

  • OpenH264

My question is which libraries (bare minimum) do I really need to achieve H.264 video calls on Android?

Regards,

Zarko

Hi all, I managed to get video calls on Linux. For video calls to work, I needed following libraries: - OpenH264 - SDL2 - v4l2 This allows me to have a basic video calling capability (no extra video manipulation offered through ffmpeg). Can I use the same on Android or follow what is given on this link: https://trac.pjsip.org/repos/wiki/Getting-Started/Android? The link suggests following: - native capture (does this mean Android already offers native capture or I need v4l2 for that?) - native OpenGL ES 2.0 renderer (requires Android 2.2 (API level 8) or higher). (What does OpenGL offer that SDL2 does not?) - OpenH264 My question is which libraries (bare minimum) do I really need to achieve H.264 video calls on Android? Regards, Zarko
Žarko Coklin
Mon, May 29, 2017 2:42 PM

After working on it for a while. I came to a conclusion the only extra library needed is openH264.

-Z


From: pjsip pjsip-bounces@lists.pjsip.org on behalf of Zarko Coklin zcoklin@hotmail.com
Sent: April 6, 2017 8:02 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] Video calls on Android - which libs are required?

Hi all,

I managed to get video calls on Linux. For video calls to work, I needed following libraries:

  • OpenH264

  • SDL2

  • v4l2

This allows me to have a basic video calling capability (no extra video manipulation offered through ffmpeg).

Can I use the same on Android or follow what is given on this link: https://trac.pjsip.org/repos/wiki/Getting-Started/Android? The link suggests following:

  • native capture (does this mean Android already offers native capture or I need v4l2 for that?)

  • native OpenGL ES 2.0 renderer (requires Android 2.2 (API level 8) or higher). (What does OpenGL offer that SDL2 does not?)

  • OpenH264

My question is which libraries (bare minimum) do I really need to achieve H.264 video calls on Android?

Regards,

Zarko

After working on it for a while. I came to a conclusion the only extra library needed is openH264. -Z ________________________________ From: pjsip <pjsip-bounces@lists.pjsip.org> on behalf of Zarko Coklin <zcoklin@hotmail.com> Sent: April 6, 2017 8:02 PM To: pjsip@lists.pjsip.org Subject: [pjsip] Video calls on Android - which libs are required? Hi all, I managed to get video calls on Linux. For video calls to work, I needed following libraries: - OpenH264 - SDL2 - v4l2 This allows me to have a basic video calling capability (no extra video manipulation offered through ffmpeg). Can I use the same on Android or follow what is given on this link: https://trac.pjsip.org/repos/wiki/Getting-Started/Android? The link suggests following: - native capture (does this mean Android already offers native capture or I need v4l2 for that?) - native OpenGL ES 2.0 renderer (requires Android 2.2 (API level 8) or higher). (What does OpenGL offer that SDL2 does not?) - OpenH264 My question is which libraries (bare minimum) do I really need to achieve H.264 video calls on Android? Regards, Zarko