Code Monkey home page Code Monkey logo

Comments (6)

jitsi-jenkins avatar jitsi-jenkins commented on August 22, 2024

It seems that the CPU is being put into sleep state when the screen is turned off using WakeLock. Holding partial wake lock before turning off the screen does not help here. Maybe other method for turning off the screen should be used here like for example full screen black dialog which blocks user input.
Thread priorities are being set properly on both audio renderer and capture threads.

from jitsi-android.

jitsi-jenkins avatar jitsi-jenkins commented on August 22, 2024

Full screen dialog seems to work pretty well. It's faster and results in simplier code. Waiting for user feedback before closing the issue(it has been tested on Galaxy S3 only).

from jitsi-android.

jitsi-jenkins avatar jitsi-jenkins commented on August 22, 2024

Opus was updated to 2.1 and built without the floats. Reducing encoder complexity level to 5 gives significant quality improvement.

from jitsi-android.

jitsi-jenkins avatar jitsi-jenkins commented on August 22, 2024

On many devices Opus seems to be too slow which results in bad audio quality hence it should not always be used as a default codec. We should provide some sort of benchmark test and based on device performance we can adjust default codec settings. This should provide better "out of the box" user experience.
Simple codecs performance tests were done on Nexus 7 tablet. Results show that we can try to divide them into 3 groups: high, medium and low cpu usage.
High cpu usage:
Opus: 25%-33% - encoder complexity set to 10(max)
silk/24000: 22%-33%
silk/16000: 22%-33%
silk/8000: 22%-33%
speex/32000: 18%--33%
Medium cpu usage:
speex/16000: 13%-26%
speex/8000: 13%-26%
GSM: 13%-23%
G722: 11%-23%
iLBC: 13%-22%
Low cpu usage:
PCMA: 4%-11%
PCMU: 3%-11%

from jitsi-android.

jitsi-jenkins avatar jitsi-jenkins commented on August 22, 2024

Which version of libopus was used for the above results? According to these test results[1], there is a huge difference between versions prior to 1.1 and 1.1 at complexity 10.
The original discussion at the opus mailing list is here[2]. It is my understanding that the quality at complexity 6 with libopus 1.1 should be comparable to the quality with complexity 10 and older versions of libopus.
[1] https://docs.google.com/spreadsheet/ccc?key=0AmUOhhaYBtrKdEJaUGFmZkxzaUE0VVdZRUtJRU16bnc&usp=sharing
[2] http://lists.xiph.org/pipermail/opus/2013-December/002470.html

from jitsi-android.

jitsi-jenkins avatar jitsi-jenkins commented on August 22, 2024

Maybe this is also be related to jitsi/libjitsi#41?

from jitsi-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.