Git Product home page Git Product logo

Comments (5)

saket424 avatar saket424 commented on July 20, 2024

Preferably instructions for compiling the h265 baresip module on Android. Thanks in advance

from baresip-android.

saket424 avatar saket424 commented on July 20, 2024

I tried to enable opengles as an EXTRA_MODULE for android after changing the GLE include file path and linker library to GLESv1_CM and am left with 3 undefined errors .

modules/opengles/opengles.c:213: error: undefined reference to 'context_destroy'
modules/opengles/opengles.c:238: error: undefined reference to 'context_init'
modules/opengles/opengles.c:272: error: undefined reference to 'context_render'
collect2: error: ld returned 1 exit status

I am left with a similar error described in
http://lists.creytiv.com/pipermail/re-devel/2016-June/000866.html

There is a modules/opengles/context.m file for iOS but no corresponding file in android. Anyone else get past this compilation issue and got video render working on android ?

from baresip-android.

saket424 avatar saket424 commented on July 20, 2024

while the opengles problems remain, I managed to compile baresip-android with video codec support using the docker container https://github.com/termux/termux-packages/blob/master/packages/ffmpeg/build.sh which has h264, h265, vp8 and vp9 support included also. Now if I can only figure out how to make videocalls on android :) same questions as noted in http://lists.creytiv.com/pipermail/re-devel/2017-August/001089.html

EXTRA_MODULES="g711 stdio opensles dtls_srtp echo aubridge fakevideo vp8 vp9 avcodec h265 vidloop opus speex zrtp"

nash:/data/local/tmp $ ./baresip
baresip v0.5.7 Copyright (C) 2010 - 2018 Alfred E. Heggestad et al.
Local network address: IPv4=:192.168.155.232
aucodec: opus/48000/2
aucodec: PCMU/8000/1
aucodec: PCMA/8000/1
aufilt: vumeter
auplay: opensles
ausrc: opensles
vidcodec: H264
vidcodec: H263
vidcodec: MP4V-ES
vidcodec: VP8
vidcodec: VP9
h265: using x265 2.5 [Linux][clang 5.0.300080][32 bit][noasm] 8bit
vidcodec: H265
medianat: stun
medianat: turn
medianat: ice
Populated 0 accounts
account: No SIP accounts found
-- check your config or add an account using 'uanew' command
Populated 3 contacts
Populated 3 audio codecs
Populated 1 audio filter
Populated 6 video codecs
Populated 0 video filters
baresip is ready.

from baresip-android.

alfredh avatar alfredh commented on July 20, 2024

perhaps we should add a rule to the makefile for
cross-compiling ffmpeg for android ? that will enable
avcodec module (H.263, H.264, MPEG4 codecs).

which video drivers do you plan to use ?

from baresip-android.

alfredh avatar alfredh commented on July 20, 2024

I will add rules for ffmpeg at some point. will reopen when starting the work.

from baresip-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.